Changes

m
Line 100: Line 100:  
*SMTP server: smtp.gmail.com
 
*SMTP server: smtp.gmail.com
 
*Port: 465
 
*Port: 465
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*SMTP Username: Your Gmail login (xxx@gmail.com or xxx@yourdomain.com)
 
*SMTP Username: Your Gmail login (xxx@gmail.com or xxx@yourdomain.com)
 
*SMTP Password: A generated application password, without the spaces (NOT your GMail password, see later)
 
*SMTP Password: A generated application password, without the spaces (NOT your GMail password, see later)
Line 125: Line 126:  
*Email sending method: SMTPs
 
*Email sending method: SMTPs
 
*Server: smtp.gmail.com
 
*Server: smtp.gmail.com
 +
*Authentication method: OAUTH2
 
*User name: Your Gmail login (xxx@gmail.com or xxx@yourdomain.com)
 
*User name: Your Gmail login (xxx@gmail.com or xxx@yourdomain.com)
*Authentication method: OAUTH2
   
*OAUTH2 authentication service: Choose the entry created in OAUth2 setup
 
*OAUTH2 authentication service: Choose the entry created in OAUth2 setup
 
*Port: 587
 
*Port: 587
Line 138: Line 139:  
*SMTP server: smtp-relay.gmail.com
 
*SMTP server: smtp-relay.gmail.com
 
*Port: 587  ''<small>(Note from Google doc: If you use TLS: 587, if you don't use TLS: 25, 465 or 587)</small>''
 
*Port: 587  ''<small>(Note from Google doc: If you use TLS: 587, if you don't use TLS: 25, 465 or 587)</small>''
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*Use TLS: Depend on relay setup
 
*Use TLS: Depend on relay setup
 
*Login/Pass: Keep login/pass empty (Choice A). In such case, on your Google console for email, you must set "Allow some IP addresses only" and enter the public IP of your Dolibarr server (see later). Or (choice B) enter your GSuite email account and an "application" password that is not the password of your account but a second password generated from https://myaccount.google.com/security).
 
*Login/Pass: Keep login/pass empty (Choice A). In such case, on your Google console for email, you must set "Allow some IP addresses only" and enter the public IP of your Dolibarr server (see later). Or (choice B) enter your GSuite email account and an "application" password that is not the password of your account but a second password generated from https://myaccount.google.com/security).
Line 173: Line 175:     
*Server: smtp.mail.me.com
 
*Server: smtp.mail.me.com
 +
*Port: 587
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Your iCloud Mail email address (Do include the domain name—what follows "@" in your iCloud Mail address; if your iCloud Mail email address is "me@icloud.com", for instance, do use "me@icloud.com" as the user name.)
 
*User name: Your iCloud Mail email address (Do include the domain name—what follows "@" in your iCloud Mail address; if your iCloud Mail email address is "me@icloud.com", for instance, do use "me@icloud.com" as the user name.)
 
*Password: iCloud Mail SMTP password: Your iCloud Mail password or an app-specific password (with two-step authentication enabled)
 
*Password: iCloud Mail SMTP password: Your iCloud Mail password or an app-specific password (with two-step authentication enabled)
*Port: 587
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: yes
Line 184: Line 187:     
*Server: mail.gandi.net
 
*Server: mail.gandi.net
 +
*Port: 587
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Your email address of your Gandi account
 
*User name: Your email address of your Gandi account
 
*Password: Your password of your Gandi account
 
*Password: Your password of your Gandi account
*Port: 587
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: yes
Line 195: Line 199:     
*Server: smtp.orange.fr
 
*Server: smtp.orange.fr
 +
*Port: 25
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Your email address of your Orange account (ex:  myname@wanadoo.fr)
 
*User name: Your email address of your Orange account (ex:  myname@wanadoo.fr)
 
*Password: Your password of your Orange account
 
*Password: Your password of your Orange account
*Port: 25
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: no
 
*Use TLS (STARTTLS) encrypt: no
Line 208: Line 213:     
*Server: smtp.office365.com (Microsoft Office 365, Exchange Server) and smtp-mail.outlook.com
 
*Server: smtp.office365.com (Microsoft Office 365, Exchange Server) and smtp-mail.outlook.com
 +
*Port: 587
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: The main email account  
 
*User name: The main email account  
 
*Password: Your password account (If you enabled the Double Authentication Method, you must create an "Application password" from menu https://account.microsoft.com/security/ -> "More security options" and use it as the password instead of your common password)
 
*Password: Your password account (If you enabled the Double Authentication Method, you must create an "Application password" from menu https://account.microsoft.com/security/ -> "More security options" and use it as the password instead of your common password)
*Port: 587
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: yes
Line 233: Line 239:  
*Email sending method: SMTPs
 
*Email sending method: SMTPs
 
*Server: smtp.office365.com (Microsoft Office 365, Exchange Server) and smtp-mail.outlook.com
 
*Server: smtp.office365.com (Microsoft Office 365, Exchange Server) and smtp-mail.outlook.com
 +
*Port: 587
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: The main email account  
 
*User name: The main email account  
 
*Authentication method: OAUTH2
 
*Authentication method: OAUTH2
 
*OAUTH2 authentication service: Choose the entry created in OAUth2 setup
 
*OAUTH2 authentication service: Choose the entry created in OAUth2 setup
*Port: 587
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: yes
Line 248: Line 255:     
*Server: yourdomainname.mail.protection.outlook.com
 
*Server: yourdomainname.mail.protection.outlook.com
 +
*Port: 25
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Keep empty
 
*User name: Keep empty
 
*Password: Keep empty
 
*Password: Keep empty
*Port: 25
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: no or yes
 
*Use TLS (STARTTLS) encrypt: no or yes
Line 260: Line 268:     
*Server: exX.mail.ovh.net    (ask OVH to know value of X)
 
*Server: exX.mail.ovh.net    (ask OVH to know value of X)
 +
*Port: 587
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Your email
 
*User name: Your email
 
*Password: Your email password (not your OVH account password)
 
*Password: Your email password (not your OVH account password)
*Port: 587
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: yes
Line 269: Line 278:     
*Server: sslX.ovh.net    (ask OVH to know value of X)
 
*Server: sslX.ovh.net    (ask OVH to know value of X)
 +
*Port: 465
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Your email
 
*User name: Your email
 
*Password: Your email password (not your OVH account password)
 
*Password: Your email password (not your OVH account password)
*Port: 465
   
*Use TLS (SSL) encrypt: yes
 
*Use TLS (SSL) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: no
 
*Use TLS (STARTTLS) encrypt: no
Line 280: Line 290:     
*Server: smtp.protonmail.ch
 
*Server: smtp.protonmail.ch
*Authentication mode: AUTH PLAIN  (on Dolibarr < 20, you must also go into the page Home - Setup - Other setup" and add the entry with name = "MAIN_MAIL_SMTPS_AUTH_TYPE" and value = "PLAIN" to use this mode)
+
*Authentication method: AUTH PLAIN  (on Dolibarr < 20, you must also go into the page Home - Setup - Other setup" and add the entry with name = "MAIN_MAIL_SMTPS_AUTH_TYPE" and value = "PLAIN" to use this mode)
 
*User name: The email address that appears into the field SMTP username when you create a SMTP token (See this page to see how to create a token: https://proton.me/support/smtp-submission)
 
*User name: The email address that appears into the field SMTP username when you create a SMTP token (See this page to see how to create a token: https://proton.me/support/smtp-submission)
 
*Password: The value of the SMTP token
 
*Password: The value of the SMTP token
Line 294: Line 304:     
*Server: smtp.sendgrid.net
 
*Server: smtp.sendgrid.net
 +
*Port: 2525
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*User name: Your SendGrid api key
 
*User name: Your SendGrid api key
 
*Password: Your SendGrid api pass
 
*Password: Your SendGrid api pass
*Port: 2525
   
*Use TLS (SSL) encrypt: no
 
*Use TLS (SSL) encrypt: no
 
*Use TLS (STARTTLS) encrypt: yes
 
*Use TLS (STARTTLS) encrypt: yes
Line 306: Line 317:  
*SMTP server: smtp.mail.yahoo.com
 
*SMTP server: smtp.mail.yahoo.com
 
*Port: 465
 
*Port: 465
 +
*Authentication method: Use a password (AUTH LOGIN)
 
*SMTP Username: Your Yahoo login (xxx@yahoo.com)
 
*SMTP Username: Your Yahoo login (xxx@yahoo.com)
 
*SMTP Password: The alternative application password, see later
 
*SMTP Password: The alternative application password, see later
Line 318: Line 330:  
In the new window that opens copy the password and paste it on the Dolibarr Email setup
 
In the new window that opens copy the password and paste it on the Dolibarr Email setup
   −
===Several smtp logins or servers===
+
===Several SMTP logins or servers per user===
At this time there is nos solution for that.
+
As this method is, nowadays, not recommended, this feature is not provided.
   −
Note that in most cases, even if each user has its own email address and its own mailbox and "Sent" directory, using several SMTP login/servers is not required (see for example the comment for Gmail setup using the "relay" mode).
+
Note: Even if each user has its own email address, its own mailbox and its own "Sent" directory, using several SMTP login/servers is not required (see for example the comment for Gmail setup using the "relay" mode). You must use instead an enterprise SMTP service that offers several mailboxes but with one authentication mode (this is available with all emails providers nowadays)
    
=Actions=
 
=Actions=