SMTP suddenly stopped sending emails
-
Hi there, my site suddenly stopped sending emails over SMTP. I have made no changes to the settings and there are no issues detected in my mailserver.
Line 389 in PHPMailer/SMTP.php is mentioned but since there haven’t been any changes to that file, I can’t see what should be wrong here.
Any idea what is going on?Regards
CarstenDebug Event Details:
Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to serve
Error log:
Versions: WordPress: 6.2 WordPress MS: No PHP: 8.0.28 WP Mail SMTP: 3.7.0 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: mail.domain Port: 465 SMTPSecure: ssl SMTPAutoTLS: bool(true) SMTPAuth: bool(true) Server: OpenSSL: OpenSSL 1.1.1f 31 Mar 2020 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: 2023-04-04 14:57:37 Connection: opening to ssl://mail.domain:465, timeout=300, options=array() 2023-04-04 14:57:37 Connection failed. Error #2: stream_socket_client(): Peer certificate CN=
domain' did not match expected CN=
mail.domain' [/var/www/vhosts/domain/httpdocs/wp-includes/PHPMailer/SMTP.php line 389] 2023-04-04 14:57:37 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/var/www/vhosts/domain/httpdocs/wp-includes/PHPMailer/SMTP.php line 389] 2023-04-04 14:57:37 Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://mail.domain:465 (Unknown error) [/var/www/vhosts/domain/httpdocs/wp-includes/PHPMailer/SMTP.php line 389] 2023-04-04 14:57:37 SMTP ERROR: Failed to connect to server: (0) SMTP Error: Could not connect to SMTP host. Failed to connect to server
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘SMTP suddenly stopped sending emails’ is closed to new replies.