simonrob / email-oauth2-proxy

An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0 authentication for email clients that don't support this method.
Apache License 2.0
785 stars 84 forks source link

Change to Sample Config Possibly Needed #261

Closed whitedavidp closed 1 month ago

whitedavidp commented 1 month ago

I just found myself having troubles with my 1st SMTP send to outlook. I looked in my config file - copied and edited from the sample. It shows the following hostname: outlook.office365.com. This does not match what is shown here (and what I have set up in my email client): smtp-mail.outlook.com. I do not know if this applies to everyone. Mine is a normal, personal-use Outlook account (previously Hotmail).

Best

simonrob commented 1 month ago

The sample file actually gives smtp.office365.com as the SMTP server. Perhaps you mistakenly copied from the IMAP or POP entries?

This server definitely does work, but you're correct that Microsoft have updated their guidance. I suspect this is fairly recent – Thunderbird still uses the old server, for instance.

23d3b4a updates this and also adds another account example specifically for Outlook accounts given your experience with scope values. Thanks for the pointers here.