Smtp connection error
-
I have tried everything to get my office365 email to work on the site and exhaused everything to this point with office365 support. I also tried a gmail email and received the same error
SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingI went to the link above and have done all the trouble shooting recommended to no avail.
Has anyone else had this problem with their Office365 email and did you find a fix.
Versions:
WordPress: 5.0.4
WordPress MS: No
PHP: 7.1.28
WP Mail SMTP: 1.4.2Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.office365.com
Port: 587
SMTPSecure: ssl
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)Server:
OpenSSL: OpenSSL 1.0.2r 26 Feb 2019
SMTP Debug:
2019-05-24 04:23:32 Connection: opening to ssl://smtp.office365.com:587, timeout=10, options=array (
)
2019-05-24 04:23:32 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2019-05-24 04:23:32 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): Failed to enable crypto
2019-05-24 04:23:32 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.office365.com:587 (Unknown error)
2019-05-24 04:23:32 SMTP ERROR: Failed to connect to server: (0)
2019-05-24 04:23:32 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingThanks
- The topic ‘Smtp connection error’ is closed to new replies.