awesomemotive / WP-Mail-SMTP

The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 3 million sites.
https://wordpress.org/plugins/wp-mail-smtp/
GNU General Public License v3.0
55 stars 35 forks source link

There was a problem while sending the test email. #131

Closed aboahmad75 closed 8 months ago

aboahmad75 commented 8 months ago

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

aboahmad75 commented 8 months ago

It was the encryption type. MailerSend uses TLS encryption, not any other type.

capuderg commented 8 months ago

Hi @aboahmad75,

if we understand correctly, you resolved the issue by changing the encryption type and we can close this issue?

aboahmad75 commented 8 months ago

Yes, that's right, Gregor Thanks for passing by,

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Gregor Capuder @.> Sent: Monday, February 12, 2024 10:49:51 AM To: awesomemotive/WP-Mail-SMTP @.> Cc: Mohammad Dawi @.>; Mention @.> Subject: Re: [awesomemotive/WP-Mail-SMTP] There was a problem while sending the test email. (Issue #131)

Hi @aboahmad75https://github.com/aboahmad75,

if we understand correctly, you resolved the issue by changing the encryption type and we can close this issue?

— Reply to this email directly, view it on GitHubhttps://github.com/awesomemotive/WP-Mail-SMTP/issues/131#issuecomment-1938185548, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJLLIS7Q43QLDGLIL5VWSH3YTHCR7AVCNFSM6AAAAABDDKX4HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZYGE4DKNJUHA. You are receiving this because you were mentioned.Message ID: @.***>