Replies: 1
The following SMTP-Configuration had been done (data are correct, sending a test mail -> an error occurs with the following log)
(the data for authentification are correct) (the site is not live)
Why can’t I send emails from WordPress???
Versions:
WordPress: 4.9.6
WordPress MS: Yes
PHP: 7.1.17-1+ubuntu16.04.1+deb.sury.org+1
WP Mail SMTP: 1.2.5
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.office365.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-05-28 14:32:18 Connection: opening to smtp.office365.com:587, timeout=300, options=array (
)
2018-05-28 14:32:18 Connection: opened
2018-05-28 14:32:18 SERVER -> CLIENT: 220 LO2P265CA0171.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 28 May 2018 14:32:18 +0000
2018-05-28 14:32:18 CLIENT -> SERVER: EHLO http://www.propain-bikes.com
2018-05-28 14:32:18 SERVER -> CLIENT: 250-LO2P265CA0171.outlook.office365.com Hello [62.245.172.156]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
2018-05-28 14:32:18 CLIENT -> SERVER: STARTTLS
2018-05-28 14:32:18 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2018-05-28 14:32:18 CLIENT -> SERVER: EHLO http://www.propain-bikes.com
2018-05-28 14:32:18 SERVER -> CLIENT: 250-LO2P265CA0171.outlook.office365.com Hello [62.245.172.156]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
2018-05-28 14:32:18 CLIENT -> SERVER: AUTH LOGIN
2018-05-28 14:32:18 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2018-05-28 14:32:18 CLIENT -> SERVER: aW5mb0Bwcm9wYWluLWJpa2VzLmNvbQ==
2018-05-28 14:32:18 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2018-05-28 14:32:18 CLIENT -> SERVER: TWF0YWxhaHViYTA4MTUh
2018-05-28 14:32:24 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [LO2P265CA0171.GBRP265.PROD.OUTLOOK.COM]
2018-05-28 14:32:24 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [LO2P265CA0171.GBRP265.PROD.OUTLOOK.COM]
2018-05-28 14:32:24 SMTP Error: Could not authenticate.
2018-05-28 14:32:24 CLIENT -> SERVER: QUIT
2018-05-28 14:32:24 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
2018-05-28 14:32:24 Connection: closed
2018-05-28 14:32:24 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting