• Resolved majidelabd

    (@majidelabd)


    I got this error, please advice.

    There was a problem while sending the test email.
    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.

    Recommended next steps:

    Check the emails that are sending are sending individually. Example: email is not sending to 30 recipients. You can install any WordPress e-mail logging plugin to do that.
    Contact your SMTP host to ask about sending/rate limits.
    Verify with them your SMTP account is in good standing and your account has not been flagged.

Viewing 3 replies - 1 through 3 (of 3 total)
  • HI Fred

    Thanks for reaching out!

    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.

    Did you try the recommended next steps already?

    Please let me know! ??

    I have the same error message but I am only sending one email.
    Can you help me? I am new to this!
    Thank you, Yvette

    Versions:
    WordPress: 5.4.2
    WordPress MS: No
    PHP: 7.2.31
    WP Mail SMTP: 2.1.1

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    Host: SMTP.EDUCATETX.COM
    Port: 465
    SMTPSecure: ssl
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
    Apache.mod_security: No

    Debug:
    Mailer: Other SMTP
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    SMTP Debug:
    2020-07-03 13:28:49 Connection: opening to ssl://SMTP.EDUCATETX.COM:465, timeout=300, options=array ()

    2020-07-03 13:28:49 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://SMTP.EDUCATETX.COM:465 (Connection refused) [/data/user8/2020/170/21217/wordpress/.56430231c6455021b5840a91bd1aed94/wp-includes/class-smtp.php line 298]

    2020-07-03 13:28:49 SMTP ERROR: Failed to connect to server: Connection refused (111)

    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Hi @yvettethompson112461,

    Thanks for the details. The error log indicates that your site’s server rejected the connection to the SMTP server. This is possibly due to some firewalls blocking outbound SMTP connection. Please contact your hosting support and ask to open the blocked ports. You can provide this error log to your hosting support.

    I hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘There was a problem while sending the test email.’ is closed to new replies.