Unable to authenticate to Office 365 SMTP
-
I really cannot see why I’m not able to authenticate to send emails through an O365 account.
I have enabled the “Authenticated SMTP” option under the “Manage email apps” section within O365 admin portal, and the email & password are cut & paste from a password safe.
Unfortunately this client does not want to upgrade to the Pro version of your plugin. I’ve attached the error log below – any ideas?
———————————————————————————–
Versions: WordPress: 5.8 WordPress MS: No PHP: 7.4.21 WP Mail SMTP: 2.9.0 Params: Mailer: smtp Constants: No ErrorInfo: SMTP Error: Could not authenticate. Host: smtp.office365.com Port: 587 SMTPSecure: tls SMTPAutoTLS: bool(true) SMTPAuth: bool(true) Server: OpenSSL: OpenSSL 1.0.2k 26 Jan 2017 Debug: Mailer: Other SMTP SMTP Error: Could not authenticate. SMTP Debug: 2021-08-02 10:23:57 Connection: opening to smtp.office365.com:587, timeout=300, options=array() 2021-08-02 10:23:57 Connection: opened 2021-08-02 10:23:57 SERVER -> CLIENT: 220 AM0P190CA0027.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 2 Aug 2021 10:23:57 +0000 2021-08-02 10:23:57 CLIENT -> SERVER: EHLO blossomtree.co.uk 2021-08-02 10:23:57 SERVER -> CLIENT: 250-AM0P190CA0027.outlook.office365.com Hello [45.8.227.175]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8 2021-08-02 10:23:57 CLIENT -> SERVER: STARTTLS 2021-08-02 10:23:57 SERVER -> CLIENT: 220 2.0.0 SMTP server ready 2021-08-02 10:23:57 CLIENT -> SERVER: EHLO blossomtree.co.uk 2021-08-02 10:23:57 SERVER -> CLIENT: 250-AM0P190CA0027.outlook.office365.com Hello [45.8.227.175]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8 2021-08-02 10:23:57 CLIENT -> SERVER: AUTH LOGIN 2021-08-02 10:23:57 SERVER -> CLIENT: 334 VXNlcm5hbWU6 2021-08-02 10:23:57 CLIENT -> SERVER: [credentials hidden] 2021-08-02 10:23:57 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2021-08-02 10:23:57 CLIENT -> SERVER: [credentials hidden] 2021-08-02 10:24:03 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [AM0P190CA0027.EURP190.PROD.OUTLOOK.COM] 2021-08-02 10:24:03 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [AM0P190CA0027.EURP190.PROD.OUTLOOK.COM] SMTP Error: Could not authenticate. 2021-08-02 10:24:03 CLIENT -> SERVER: QUIT 2021-08-02 10:24:03 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel 2021-08-02 10:24:03 Connection: closed SMTP Error: Could not authenticate.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Unable to authenticate to Office 365 SMTP’ is closed to new replies.