• Resolved vladimirgospodinov

    (@vladimirgospodinov)


    I am using WP Mail SMTP to fix an issue of contact form (Contact Form 7 plug-in) messages not being send to my e-mail. I am trying to connect WP Mail SMTP with bluehost and I did everything as instructed by guides and the Bluehost support but I get this message when I trry to send a test mail.

    Versions:
    WordPress: 5.5.1
    WordPress MS: No
    PHP: 7.3.22
    WP Mail SMTP: 2.4.0

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host.
    Host: her.iwx.mybluehost.me
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.1.1g 21 Apr 2020

    Debug:
    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host.

    SMTP Debug:

    2020-09-22 07:39:55 Connection: opening to her.iwx.mybluehost.me:587, timeout=300, options=array()

    2020-09-22 07:39:55 Connection: opened

    2020-09-22 07:39:56 SERVER -> CLIENT: 220-box5801.bluehost.com ESMTP Exim 4.93 #2 Tue, 22 Sep 2020 01:39:56 -0600 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

    2020-09-22 07:39:56 CLIENT -> SERVER: EHLO foodcontentfactory.com

    2020-09-22 07:39:56 SERVER -> CLIENT: 250-box5801.bluehost.com Hello foodcontentfactory.com [162.241.253.153]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP

    2020-09-22 07:39:56 CLIENT -> SERVER: STARTTLS

    2020-09-22 07:39:56 SERVER -> CLIENT: 220 TLS go ahead

    2020-09-22 07:39:56 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=*.bluehost.com' did not match expected CN=her.iwx.mybluehost.me’ [/home4/heriwxmy/public_html/wp-includes/PHPMailer/SMTP.php line 426]

    SMTP Error: Could not connect to SMTP host.

    2020-09-22 07:39:56 CLIENT -> SERVER: QUIT

    2020-09-22 07:39:56

    2020-09-22 07:39:56

    2020-09-22 07:39:56 Connection: closed

    SMTP Error: Could not connect to SMTP host.

    It says: “the connection to your SMTP host was made successfully, but the host rejected the email.”

    I couldn’t find a solution so far, any ideas? Thank you in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when sending test mai – tried everything I could, please help’ is closed to new replies.