Setup EMails: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 201: Line 201:


This is a more complete thread about this setup reported by a French user: https://www.dolibarr.fr/forum/t/envoi-de-mail-depuis-un-smtp-office365/29299/15?u=eldy
This is a more complete thread about this setup reported by a French user: https://www.dolibarr.fr/forum/t/envoi-de-mail-depuis-un-smtp-office365/29299/15?u=eldy
===Outlook / Office365 / Exchange server (with OAuth2)===
Enable the module OAuth2.
Create an OAuth2 entry for Microsoft with the 3 scopes:  “offline_access”, “outlook.office365.com/ IMAP.AccessAsUser.All”, “outlook.office365.com/ SMTP.Send”
Generate a token.
Now setup into the Home - Setup - Email must be
*Server: smtp.office365.com (Microsoft Office 365, Exchange Server) and smtp-mail.outlook.com
*User name: The main email account
*Authentication method: OAUTH2
*OAUTH2 authentication service: Choose the entry created in OAUth2 setup
*Port: 587
*Use TLS (SSL) encrypt: no
*Use TLS (STARTTLS) encrypt: yes


===Outlook / Office365 / Exchange server (with mode relay)===
===Outlook / Office365 / Exchange server (with mode relay)===

Navigation menu