Replies: 0
Hi
Trying to set up the plug in for a client using the other SMTP setting. They don’t want to go for the pro version that handles Outlook. I have never had any issues setting up before when I use gmail accounts. We have use the correct email user and password and have authentication on at the email hosting.
This is the error I am getting. Can you tell me where we are going wrong?
Versions:
WordPress: 5.8
WordPress MS: No
PHP: 7.3.29
WP Mail SMTP: 3.0.3
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 10 Sep 2019
Apache.mod_security: No
Debug:
Email Source: WP Mail SMTP
Mailer: Other SMTP
SMTP Error: Could not authenticate.
SMTP Debug:
2021-08-11 10:26:24 Connection: opening to SMTP.office365.com:587, timeout=300, options=array()
2021-08-11 10:26:24 Connection: opened
2021-08-11 10:26:24 SERVER -> CLIENT: 220 LO2P265CA0209.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 11 Aug 2021 10:26:24 +0000
2021-08-11 10:26:24 CLIENT -> SERVER: EHLO www.ic.bcmdev3.co.uk
2021-08-11 10:26:24 SERVER -> CLIENT: 250-LO2P265CA0209.outlook.office365.com Hello [77.72.4.162]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2021-08-11 10:26:24 CLIENT -> SERVER: STARTTLS
2021-08-11 10:26:24 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2021-08-11 10:26:24 CLIENT -> SERVER: EHLO www.ic.bcmdev3.co.uk
2021-08-11 10:26:24 SERVER -> CLIENT: 250-LO2P265CA0209.outlook.office365.com Hello [77.72.4.162]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2021-08-11 10:26:24 CLIENT -> SERVER: AUTH LOGIN
2021-08-11 10:26:24 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2021-08-11 10:26:24 CLIENT -> SERVER: [credentials hidden]
2021-08-11 10:26:24 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2021-08-11 10:26:24 CLIENT -> SERVER: [credentials hidden]
2021-08-11 10:26:29 SERVER -> CLIENT: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [LO2P265CA0209.GBRP265.PROD.OUTLOOK.COM]
2021-08-11 10:26:29 SMTP ERROR: Password command failed: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [LO2P265CA0209.GBRP265.PROD.OUTLOOK.COM]
SMTP Error: Could not authenticate.
2021-08-11 10:26:29 CLIENT -> SERVER: QUIT
2021-08-11 10:26:29 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
2021-08-11 10:26:29 Connection: closed
SMTP Error: Could not authenticate.