• Resolved bordo

    (@bordo)


    Hello, hopefully you can give me some help with this issue. I have successfully connected other websites to this mail server via smtp, but with one of those i get this error when trying test it:

    There seems to be no requests received by the mail server.

    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused

    Source

    WP Mail SMTP

    /home/napxzuso/public_html/v3/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/TestTab.php (line: 345)

    Backtrace:
    [0] wp_mail called at [/home/napxzuso/public_html/v3/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/TestTab.php:345]
    [1] WPMailSMTP\Admin\Pages\TestTab->process_post called at [/home/napxzuso/public_html/v3/wp-content/plugins/wp-mail-smtp/src/Admin/ParentPageAbstract.php:265]
    [2] WPMailSMTP\Admin\ParentPageAbstract->process_actions called at [/home/napxzuso/public_html/v3/wp-includes/class-wp-hook.php:308]
    [3] WP_Hook->apply_filters called at [/home/napxzuso/public_html/v3/wp-includes/class-wp-hook.php:332]
    [4] WP_Hook->do_action called at [/home/napxzuso/public_html/v3/wp-includes/plugin.php:517]
    [5] do_action called at [/home/napxzuso/public_html/v3/wp-admin/admin.php:175]

    Also further testing indicated:

    Versions:
    WordPress: 6.1.1
    WordPress MS: No
    PHP: 7.4.33
    WP Mail SMTP: 3.7.0
    
    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 SMTP code: 111 Additional SMTP info: Connection refused
    Host: mail.xxxxx.com
    Port: 587
    SMTPSecure: tls
    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 code: 111 Additional SMTP info: Connection refused
    
    SMTP Debug:
    2023-02-01 08:46:26 Connection: opening to mail.xxxxxxxx.com:587, timeout=300, options=array()
    
    2023-02-01 08:46:27 Connection failed. Error #2: stream_socket_client(): unable to connect to mail.xxxxxxx.com:587 (Connection refused) [/home/napxzuso/public_html/v3/wp-includes/PHPMailer/SMTP.php line 389]
    
    2023-02-01 08:46:27 SMTP ERROR: Failed to connect to server: Connection refused (111)
    
    SMTP Error: Could not connect to SMTP host. Failed to connect to server
    • This topic was modified 3 years, 4 months ago by bordo.
    • This topic was modified 3 years, 4 months ago by bordo.
    • This topic was modified 3 years, 4 months ago by bordo.
    • This topic was modified 3 years, 4 months ago by bordo.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Dake

    (@dakeg)

    Hi @bordo

    Thanks for reaching out and we’re sorry to hear that you’re experiencing issues setting up the Other SMTP mailer on one particular website.

    Is this website on a different website host than the others you’ve set up before?

    If yes, then as you mentioned, the error message Failed to connect to server: Connection refused indicates that your web server refused SMTP connections on port 465/587, and it is not able to connect to the remote mail server.

    You’ll need to contact your hosting provider with that error report to fix the server configuration or to see if anything is blocking.

    In case this is a mailer-specific issue, in the meantime, you may try setting up a different mailer instead of the ‘Other SMTP‘ option. You can see all the available mailers from the following list (https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/).

    I hope this helps 🙂

    Hi,

    I have exactly the same issue for a number of days now. There have not been any changes to my hosting provider nor any settings on my domain, however after calling tech support their solution did not work. They tried to reset mailing system on their end but nothing seems to have changed. Please let me know if there are any other solutions to this!

    • This reply was modified 3 years, 4 months ago by annabelle17.
    Plugin Support Dake

    (@dakeg)

    Hi @annabelle17

    Please create a new support thread so that we can look into this further and provide troubleshooting steps based on your specific installation.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot send via SMTP’ is closed to new replies.