Difference between revisions of "Using Claws Mail with Gmail"
(Add incremental drafts to gmail oddities) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
You will also need to use [https://support.google.com/accounts/answer/185833?authuser=0 an App Password] to log in if using two factor authentication on your account. | You will also need to use [https://support.google.com/accounts/answer/185833?authuser=0 an App Password] to log in if using two factor authentication on your account. | ||
+ | |||
+ | == Incremental drafts are not supported == | ||
+ | |||
+ | Gmail does not support incremental saves to Drafts and will create one file per save. | ||
+ | |||
+ | You need to either go to '/Configuration/Preferences/Compose/Writing' and turn off 'Automatically save message to Drafts folder every [...] characters', or use a Drafts folder which is not on the Gmail IMAP server. | ||
== Claws Mail account setup == | == Claws Mail account setup == | ||
Line 22: | Line 28: | ||
: Authentication method: Automatic | : Authentication method: Automatic | ||
− | ; on ' | + | ; on 'TLS' page |
− | : IMAP: Use | + | : IMAP: Use TLS |
: Send (SMTP): Use STARTTLS command to start encrypted session | : Send (SMTP): Use STARTTLS command to start encrypted session | ||
Line 30: | Line 36: | ||
: IMAP port: 993 | : IMAP port: 993 | ||
+ | Set the [Gmail]/Trash folder as Folder Type 'Trash' on the General page of the folder Properties, so that emptying Trash really deletes the messages it contains. | ||
− | + | Additionally, as gmail cannot handle incremental saves to the Drafts folder, turn off 'Automatically save to Drafts folder every n characters' on the /Configuration/Preferences/Compose/Writing page. | |
− | Additionally, | ||
− | |||
− |
Latest revision as of 16:41, 26 October 2022
Gmail account setup
In your Gmail settings, turn on "Enable less secure app access". (Gmail's "enable less secure app access" is a euphemism for "apps that don't support OAUTH2", it does not mean programs such as Claws Mail, are less secure.)
You will also need to use an App Password to log in if using two factor authentication on your account.
Incremental drafts are not supported
Gmail does not support incremental saves to Drafts and will create one file per save.
You need to either go to '/Configuration/Preferences/Compose/Writing' and turn off 'Automatically save message to Drafts folder every [...] characters', or use a Drafts folder which is not on the Gmail IMAP server.
Claws Mail account setup
Open your account preferences, and make sure these options are set:
- on 'Basic' page
- server for receiving: imap.gmail.com
- SMTP server (send): smtp.gmail.com
- User ID: [your complete gmail email address]
- on 'Receive' page
- Authentication method: Automatic
- IMAP server directory: [leave empty]
- on 'Send' page
- [x] SMTP Authentication (SMTP AUTH)
- Authentication method: Automatic
- on 'TLS' page
- IMAP: Use TLS
- Send (SMTP): Use STARTTLS command to start encrypted session
- on 'Advanced' page
- SMTP port: 587
- IMAP port: 993
Set the [Gmail]/Trash folder as Folder Type 'Trash' on the General page of the folder Properties, so that emptying Trash really deletes the messages it contains.
Additionally, as gmail cannot handle incremental saves to the Drafts folder, turn off 'Automatically save to Drafts folder every n characters' on the /Configuration/Preferences/Compose/Writing page.