Office 365 Email Notification Settings
I've tried just about every combination of email settings to authenticate with Office 365 and have had no luck. Has anybody else been able to get it to work? I get "Unrecognized Authentication Type" when sending a test email.
Here's one of my latest attempts:
default: email_delivery: delivery_method: :smtp smtp_settings: #tls: true enable_starttls_auto: false openssl_verify_mode: none address: "smtp.office365.com" port: 587 domain: "smtp.office365.com" authentication: plain user_name: "firstname.lastname@example.org" password: "thepassword"
Server EHLO response below.
250-XXXX.outlook.office365.com Hello [X.X.X.X] 250-SIZE 36700160 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-AUTH 250-8BITMIME 250-BINARYMIME 250 CHUNKING
RE: Office 365 Email Notification Settings - Added by Bonnie O over 7 years ago
The settings below worked for me.
RE: Office 365 Email Notification Settings - Added by Pedro Melo almost 6 years ago
These setting worked for me too, thanks a lot!
RE: Office 365 Email Notification Settings - Added by Bernhard Schulz 7 months ago
I can confirm, that today (July 2020) the settings from Bonnie O from 2013 are still working.
RE: Office 365 Email Notification Settings - Added by Celso Acurcio 4 months ago
I can't for the life of me make this work.
No matter what options I select I always get an error, I think that the closest setting I can get I still get an authentication error:
An error occurred while sending mail (535 5.7.3 Authentication unsuccessful [LO2P123CA0098.GBRP123.PROD.OUTLOOK.COM] )
I tried many different options and followed many different online forums and instructions but none work, I'm starting to wonder if this is due to the 2FA on my account and if there's a way to go around it somehow.
My settings are as follows:
RE: Office 365 Email Notification Settings - Added by orfeas manousiadis 3 months ago
It work fine by me
RE: Office 365 Email Notification Settings - Added by Celso Acurcio 3 months ago
Just trying to get help again here, this is still not ok for me.
I've tried with and without quotation marks in everything, disabled the 2FA in this account and it's still unsuccessful.
Is there any other factor that may be causing this?
I have the exact same spacing as Bonnie O and lines (with the exception of username and pass).
Is there any way I can try to establish the connection manually to see in which step it fails? something that provides a more detailed fault information?
My gmail configuration works perfectly fine with the official redmine instructions, why is office365 not working with those?
RE: Office 365 Email Notification Settings - Added by Celso Acurcio about 1 month ago
For future users, these settings are working correctly but your account needs to allow external SMTP access: