• Resolved humo

    (@humo)


    Thank you very much for your attention, can you help me?

    I installed “WP Mail SMTP” and I get this error when performing the mail test.
    I did this because my CF7 form does not send

    This error appears in my “View full error log” of the WP Mail SMTP plugin.

    Versions:
    WordPress: 6.6.1
    WordPress MS: No
    PHP: 8.2.21
    WP Mail SMTP: 4.1.0

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=ns4.nrgdns.net' did not match expected CN=mail.ashir.com.ar’SMTP server error: QUIT command failed Detail: Y????CI~Z???l???221 ns1.nrgdns.net closing connection Host: mail.ashir.com.ar Port: 587 SMTPSecure: tls SM TPAutoTLS: bool(true) SMTPAuth: bool(true) Server: OpenSSL: OpenSSL 1.1.1k FIPS Mar 25, 2021 SMTP Debug: 2024-08-14 23:06:18 Connection: opening to mail.ashir.com.ar:587, timeout=300, options=array() 2024-08-14 23:06:18 Connection: opened 2024-08-14 23:06:18 SERVER -> CLIENT: 220 ns1.nrgdns.net ESMTP Exim 4.98 Wed, 14 Aug 2024 20:06:18 -0300 8-14 23:06:18 CLIENT -> SERVER: EHLO ashir.com.ar 2024-08-14 23:06:18 SERVER -> CLIENT: 250-ns1.nrgdns.net Hello ns4.nrgdns.net [178.32.49.156]250-SIZE 52428800250-LIMIT Yes MAILMAX=100 RCPTMAX=150250-8BITMIME250-PIPELINING250-PIPECONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP 2024-08-14 23:06:18 CLIENT -> SERVER: STARTTLS 2024-08-14 23:06:18 SERVER -> CLIENT: 220 TLS go ahead 2024-08-14 23:06:18 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=ns4.nrgdns.net’ did not match expected CN=mail.ashir.com.ar' [/home/ashir/domains/ashir.com.ar/public_html/wp-includes/PHPMailer/SMTP.php line 487] SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=ns4.nrgdns.net’ did not match expected CN=mail.ashir.com.ar' 2024-08-14 23:06:18 CLIENT -> SERVER: QUIT 2024-08-14 23:06:18 2024-08-14 23:06:18 20 08-24-14 23:06:18 Connection: closed SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=ns4.nrgdns.net’ did not match expected CN=`mail.ashir.com.ar’

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support David

    (@dpinson)

    Hi there @humo,

    Thanks for reaching out! It looks like your host will need to check into this. If you can copy/paste this error over to their support team, they should be able to help you out. Specifically, what they’ll most likely want to look at is this part:

    Connection failed. stream_socket_enable_crypto(): Peer certificate CN=ns4.nrgdns.net' did not match expected CN=mail.ashir.com.ar’

    I hope that helps! Have a great day! ??

    Thread Starter humo

    (@humo)

    Hi !!..Yes correct, thanks for the reply, now what I did is avoid (encryption=none) the TLS in the plug-Smtp configuration panel and it works fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.