mgob
mgob copied to clipboard
Office365 mail auth error
trafficstars
Office365 login error. With this configuration I send email on spring boot application.
time="2023-03-23T18:00:44Z" level=error msg="Notifier failed sending email notification failed: 504 5.7.4 Unrecognized authentication type [FR2P281CA0035.DEUP281.PROD.OUTLOOK.COM 2023-03-23T18:00:39.250Z 08DB2B43918359DA]" plan=xxxxxxxxxxxxx
smtp:
server: smtp.office365.com
port: 587
username: no-reply@xxxxxx
password: yyyyyyyyyy
from: no-reply@xxxxxx
to:
- [email protected]
- [email protected]
It seems like smtp.office365.com uses a different encryption called STARTTLS
https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4ac95353
Not sure when I will have time to add this feature, welcome to make a PR