Replies: 0
I have set up Office 365 using other SMTP on the WP Mail SMTP plugin, on one of my websites with no issues using Hostinger. I tried to set it up ona another site with a different Office 365 account (different tenant also) on a SiteGround host. I am getting authentication issues though. I have tested the username (email) and passord to log into Office 365 (web) Outlook and can send email with no issues. i contacted SiteGround support and they pointed me to the same instructions i had already been through. Does anyone have any thoughts about what i could try next?
Any help would be appreciated!!
Log:
Versions:
WordPress: 5.4.2
WordPress MS: No
PHP: 7.3.20
WP Mail SMTP: 2.2.1
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.1.1d FIPS 10 Sep 2019
Debug:
Mailer: Other SMTP
SMTP Error: Could not authenticate.
SMTP Debug:
2020-07-23 11:26:24 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()
2020-07-23 11:26:25 Connection: opened
2020-07-23 11:26:25 SERVER -> CLIENT: 220 TYAPR01CA0182.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 23 Jul 2020 11:26:24 +0000
2020-07-23 11:26:25 CLIENT -> SERVER: EHLO xxxxxxxxx.com.au
2020-07-23 11:26:25 SERVER -> CLIENT: 250-TYAPR01CA0182.outlook.office365.com Hello [35.213.249.188]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2020-07-23 11:26:25 CLIENT -> SERVER: STARTTLS
2020-07-23 11:26:25 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2020-07-23 11:26:26 CLIENT -> SERVER: EHLO xxxxxxxxxxxxxx.com.au
2020-07-23 11:26:26 SERVER -> CLIENT: 250-TYAPR01CA0182.outlook.office365.com Hello [35.213.249.188]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2020-07-23 11:26:26 CLIENT -> SERVER: AUTH LOGIN
2020-07-23 11:26:26 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2020-07-23 11:26:26 CLIENT -> SERVER: a2ltQHRoZXJhcHl3aXRoa2ltLmNvbS5hdQ==
2020-07-23 11:26:26 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2020-07-23 11:26:26 CLIENT -> SERVER: SGVucnl0aG9tYXMxMjAy
2020-07-23 11:26:33 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [TYAPR01CA0182.jpnprd01.prod.outlook.com]
2020-07-23 11:26:33 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [TYAPR01CA0182.jpnprd01.prod.outlook.com]
SMTP Error: Could not authenticate.
2020-07-23 11:26:33 CLIENT -> SERVER: QUIT
2020-07-23 11:26:33 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
2020-07-23 11:26:33 Connection: closed
SMTP Error: Could not authenticate.