Replies: 0
We recently migrated our server and after the migration system started giving error for SMTP. After getting the report, it looks like there is an authentication issue. I can access with the same password to our office365 account but somehow somewhere WP Mail SMTP is not accepting he credentials.
When i change it to google, it works flawlessly but i really need our own one to work.
I also tried to put the password using wp-config.php but still the same thing. So i am not sure where we are going wrong
below is the error report:
Versions:
WordPress: 5.3
WordPress MS: No
PHP: 7.3.11
WP Mail SMTP: 1.7.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not authenticate.
Host: smtp.office365.com
Port: 587
SMTPSecure: string(0) “”
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.0.2t 10 Sep 2019
SMTP Debug:
2019-11-22 12:11:46 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()
2019-11-22 12:11:46 Connection: opened
2019-11-22 12:11:46 SERVER -> CLIENT: 220-vps.intechcentre.net ESMTP Exim 4.92 #2 Fri, 22 Nov 2019 07:11:46 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2019-11-22 12:11:46 CLIENT -> SERVER: EHLO http://www.intechcentre.com
2019-11-22 12:11:46 SERVER -> CLIENT: 250-vps.intechcentre.net Hello http://www.intechcentre.com [162.241.71.29]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2019-11-22 12:11:46 CLIENT -> SERVER: AUTH LOGIN
2019-11-22 12:11:46 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2019-11-22 12:11:46 CLIENT -> SERVER: aW5mb0BpbnRlY2hjZW50cmUuY29t
2019-11-22 12:11:46 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2019-11-22 12:11:46 CLIENT -> SERVER: QWxhY2ExOTE5
2019-11-22 12:11:48 SERVER -> CLIENT: 535 Incorrect authentication data
2019-11-22 12:11:48 SMTP ERROR: Password command failed: 535 Incorrect authentication data
SMTP Error: Could not authenticate.
2019-11-22 12:11:48 CLIENT -> SERVER: QUIT
2019-11-22 12:11:48 SERVER -> CLIENT: 221 vps.intechcentre.net closing connection
2019-11-22 12:11:48 Connection: closed
SMTP Error: Could not authenticate.