• Resolved funkcrush

    (@funkcrush)


    Hey

    I am getting the above error ever since 17th August. It affects Contact Form 7 and Quiz Maker plugins.

    When I click on individual errors, I receive this for the contact form:
    ***/wp-content/plugins/contact-form-7/includes/mail.php (line: 194)

    And this for the Quiz Maker:
    ***/wp-content/plugins/quiz-maker/public/class-quiz-maker-public.php (line: 5615)

    I am using the ‘other SMTP’ settings with the information that was provided to me by my local hosting provider. They asked me to change the SMTP port after I realized that the contact form is not working, which I did, only to have a endless spinning wheel while trying to send a test e-mail. They are saying the issue is on my end and want to charge me for looking into it, but expect updating plugins I haven’t changed or added anything to the website. Any ideas would be appreciated.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @funkcrush,

    When you get a chance, could you please share a full error log recorded when you send a test email from WP Mail SMTP > Email Test? Here’s a screenshot for the option to get a full error log. This will give us an idea of what might be going on.

    If the test email spins endlessly, that’s probably because you entered incorrect SMTP details or your webserver is blocking the SMTP connection. You will need to contact your web host provider to check the issue.

    Alternatively, you can switch to other mailer. We have documentation on each of our avaialble mailers.

    I hope this helps!

    Thread Starter funkcrush

    (@funkcrush)

    Dear Sanjeev

    Thank you for your reply. I tried sending the test e-mail to the actual company e-mail instead of my gmail account and I have different results.

    As mentioned, once the plugin stopped working, I have been advised to change the port from 587 to 465.

    I have just done a test on 587, which is the way it was setup and the error message is:

    Error due to unsolicited and/or bulk e-mail.
    This means the connection to your SMTP host was made successfully, but the host rejected the email. Typically this error is returned when you are sending too many e-mails or e-mails that have been identified as spam.

    Any other combination of ports or changing SSL to TLC and viceversa gives me the following:

    ‘Could not connect to the SMTP host.
    This means your web server was unable to connect to mail.be-english.es.
    Typically this error is returned for one of the following reasons:
    SMTP settings are incorrect (wrong port, security setting, incorrect host).
    Your web server is blocking the connection.
    Your SMTP host is rejecting the connection.`

    Using the old settings with new port, gives me endless spinning wheel.

    • This reply was modified 3 years, 2 months ago by funkcrush.
    • This reply was modified 3 years, 2 months ago by funkcrush.
    Thread Starter funkcrush

    (@funkcrush)

    As per above, I clicked on view full error log while using the 587 port, which are the old settings and got this:

    Versions:
    WordPress: 5.8.1
    WordPress MS: No
    PHP: 7.4.23
    WP Mail SMTP: 3.0.3
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host.
    Host: mail.***.es
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(false)
    
    Server:
    OpenSSL: OpenSSL 1.1.1k FIPS 25 Mar 2021
    Apache.mod_security: No
    
    Debug:
    Email Source: WP Mail SMTP
    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host.
    
    SMTP Debug:
    2021-09-14 10:20:20 Connection: opening to mail.***.es:587, timeout=300, options=array()
    
    2021-09-14 10:20:20 Connection: opened
    
    2021-09-14 10:20:20 SERVER -> CLIENT: 220-c99748.sgvps.net ESMTP #2 Tue, 14 Sep 2021 10:20:20 +0000 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
    
    2021-09-14 10:20:20 CLIENT -> SERVER: EHLO ***.es
    
    2021-09-14 10:20:20 SERVER -> CLIENT: 250-c99748.sgvps.net Hello ***.es [35.214.188.105]250-SIZE 52428800250-8BITMIME250-DSN250-VRFY250-AUTH LOGIN PLAIN250-STARTTLS250 HELP
    
    2021-09-14 10:20:20 CLIENT -> SERVER: STARTTLS
    
    2021-09-14 10:20:20 SERVER -> CLIENT: 220 TLS go ahead
    
    2021-09-14 10:20:20 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=<code>c99748.sgvps.net' did not match expected CN=</code>mail.***.es' [/home/customer/www/***.es/public_html/wp-includes/PHPMailer/SMTP.php line 468]
    
    SMTP Error: Could not connect to SMTP host.
    
    2021-09-14 10:20:20 CLIENT -> SERVER: QUIT
    
    2021-09-14 10:20:20
    
    2021-09-14 10:20:20
    
    2021-09-14 10:20:20 Connection: closed
    
    SMTP Error: Could not connect to SMTP host.

    Any ideas?

    Hi @funkcrush,

    Thanks for reaching out. The error log indicates the issue with the certificate presented, probably because your web host’s certificate (sgvps .net) is presented which does not match the hostname ‘mail.***.es’. Please contact your web host with the SMTP log to look into the error.

    I hope this helps!

    I’m using Godaddy Business Email Service, Hosting is also Deluxe Shared Hosting On Godaddy.

    Error due to unsolicited and/or bulk e-mail.

    • `This means the connection to your SMTP host was made successfully, but the host rejected the email.</li>

      <li>Typically this error is returned when you are sending too many e-mails or e-mails that have been identified as spam.`

    • Versions:
      WordPress: 5.8.1
      WordPress MS: No
      PHP: 7.4.23
      WP Mail SMTP: 3.2.1

      Params:
      Mailer: smtp
      Constants: No
      ErrorInfo: SMTP Error: Could not connect to SMTP host.
      Host: localhost
      Port: 25
      SMTPSecure: string(0) “”
      SMTPAutoTLS: bool(true)
      SMTPAuth: bool(false)

      Server:
      OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
      Apache.mod_security: No

      Debug:
      Email Source: WP Mail SMTP
      Mailer: Other SMTP
      SMTP Error: Could not connect to SMTP host.

      SMTP Debug:
      2022-01-17 16:36:17 Connection: opening to localhost:25, timeout=300, options=array()

      2022-01-17 16:36:17 Connection: opened

      2022-01-17 16:36:17 SERVER -> CLIENT: 220-p3plcpnl0808.prod.phx3.secureserver.net ESMTP Exim 4.94.2 #2 Mon, 17 Jan 2022 09:36:17 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

      2022-01-17 16:36:17 CLIENT -> SERVER: EHLO imc-india.com

      2022-01-17 16:36:17 SERVER -> CLIENT: 250-p3plcpnl0808.prod.phx3.secureserver.net Hello imc-india.com [127.0.0.1]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250-CHUNKING250-STARTTLS250-SMTPUTF8250 HELP

      2022-01-17 16:36:17 CLIENT -> SERVER: STARTTLS

      2022-01-17 16:36:17 SERVER -> CLIENT: 220 TLS go ahead

      2022-01-17 16:36:17 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=*.prod.phx3.secureserver.net' did not match expected CN=localhost’ [/home/meeocrbw6ayr/public_html/wp-includes/PHPMailer/SMTP.php line 468]

      SMTP Error: Could not connect to SMTP host.

      2022-01-17 16:36:17 CLIENT -> SERVER: QUIT

      2022-01-17 16:36:17

      2022-01-17 16:36:17

      2022-01-17 16:36:17 Connection: closed

      SMTP Error: Could not connect to SMTP host.

    Plugin Support Darshana

    (@darshanaw)

    Hi @prathameshchhari,

    Thanks for reaching out!

    I see the following error message on your debug log.

    We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

    This usually means your hosting provider is not allowing you to use their SMTP email protocol to send emails.

    Please get in touch with your hosting support with the full error log and they should be able to assist you further.

    I hope this helps. Thanks!

    • This reply was modified 2 years, 10 months ago by Darshana.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mailer: Other SMTP SMTP Error: Could not connect to SMTP host.’ is closed to new replies.