Replies: 0
Hi,
I’m getting the following error with ofice365, have spoken with the server providers and been told that everything is configured correctly but I doubt it since I’m getting the same error.
Versions:
WordPress: 5.8.2
WordPress MS: No
PHP: 7.4.30
WP Mail SMTP: 3.5.2
Params:
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.1.0l 10 Sep 2019
Debug:
Origen del correo electrónico: WP Mail SMTP
Mailer: Otro SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
SMTP Debug:
2022-09-20 14:32:23 Connection: opening to ssl://smtp.office365.com:587, timeout=300, options=array()
2022-09-20 14:32:23 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:1408F10B:SSL routines:ssl3_get_record:wrong version number [/usr/home/casashistoricas/www/wp-includes/PHPMailer/SMTP.php line 388]
2022-09-20 14:32:23 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/usr/home/casashistoricas/www/wp-includes/PHPMailer/SMTP.php line 388]
2022-09-20 14:32:23 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.office365.com:587 (Unknown error) [/usr/home/casashistoricas/www/wp-includes/PHPMailer/SMTP.php line 388]
2022-09-20 14:32:23 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
User and password are correct, there is not 2 auth, and authenticated APPs is checked in the configuration panel.
What else can I tell them (server providers) to check in order to solve this? I have reached a point where I’m not sure if its a server issue or an office365 config issue
Have tried to used portdss 25 and 465 but it wont even complete the test, white page…
Thanks