There was a problem while sending the test email.
aboahmad75 opened this issue · 3 comments
Versions:
WordPress: 6.4.3
WordPress MS: No
PHP: 7.4.33
WP Mail SMTP: 3.11.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server
Host: smtp.mailersend.net
Port: 587
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.1p 21 Jun 2022
Apache.mod_security: No
Debug:
Email Source: WP Mail SMTP
Mailer: Other SMTP
SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server
SMTP Debug:
2024-02-11 07:10:03 Connection: opening to ssl://smtp.mailersend.net:587, timeout=300, options=array()
2024-02-11 07:10:04 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 [/home/u331504278/domains/tripleshades.com/public_html/wp-includes/PHPMailer/SMTP.php line 397]
2024-02-11 07:10:04 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/u331504278/domains/tripleshades.com/public_html/wp-includes/PHPMailer/SMTP.php line 397]
2024-02-11 07:10:04 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.mailersend.net:587 (Unknown error) [/home/u331504278/domains/tripleshades.com/public_html/wp-includes/PHPMailer/SMTP.php line 397]
2024-02-11 07:10:04 SMTP ERROR: Failed to connect to server: (0)
SMTP Error: Could not connect to SMTP host. Failed to connect to server
It was the encryption type. MailerSend uses TLS encryption, not any other type.
Hi @aboahmad75,
if we understand correctly, you resolved the issue by changing the encryption type and we can close this issue?