31,029
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 111: | Line 111: | ||
*Port: 25, 465 or 587 | *Port: 25, 465 or 587 | ||
*Use TLS: Depend on relay setup | *Use TLS: Depend on relay setup | ||
*Keep login/pass empty | *Login/Pass: Keep login/pass empty (Choice A). In such case, you must set "Allow some IP addresses only" and enter the public IP of your Dolibarr server. Or (choice B) enter your GSuite email account and a "application" password that is not the password of your account but a second password generated from https://myaccount.google.com/security). | ||
Note: You must first setup your Google account to relay outgoing email and to set the list of ip of your SMTP clients (https://admin.google.com, GMail - Advanced setup - Routing). | Note 1: You must first setup your Google account to relay outgoing email and to set the list of ip of your SMTP clients (https://admin.google.com, Application - GSuite - GMail - Advanced setup - Routing). Choose "Accept all emails from my domain" or "Accept all", Choose "Enable TLS" and choose "SMTP authentication required" to no (Choice A) or yes (Choice B). | ||
Note: With this mode, emails sent are also saved into "Sent" folder only if option "Stock a copy of all emails sent..." is on. | * If you made Choice A, you must also enter the public ip address of the server of your Dolibarr in "Allow some IP addresses only". | ||
* If you made Choice B, you must create an "application password" from https://myaccount.google.com/security and use this one. | |||
Whatever is the choice (A or B), you will never have to enter the password of your Google account when using the GMail relay solution. | |||
Note 2: With this mode, emails sent are also saved into "Sent" folder only if option "Stock a copy of all emails sent..." is on. | |||
If your are a Gsuite user with several users/mailboxes, this mode is required if you want to have each user having its sent mails automatically stored into its own "Sent" directory of Gmail. | If your are a Gsuite user with several users/mailboxes, this mode is required if you want to have each user having its sent mails automatically stored into its own "Sent" directory of Gmail. | ||