• Resolved Be Dark

    (@b_dark)


    Hello,

    I set SMTP Port 465 (my server supports ssl/tls) and i choose tls.
    and i got this msg:

    An issue was detected.
    This means your test email was unable to be sent.
    
    Typically this error is returned for one of the following reasons:
    
    Plugin settings are incorrect (wrong SMTP settings, invalid Mailer configuration, etc).
    Your web server is blocking the connection.
    Your host is rejecting the connection.
    Recommended next steps:
    Triple check the plugin settings, consider reconfiguring to make sure everything is correct (eg bad copy and paste).
    Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.
    Note: this is the most common cause of this issue.
    Try using a different mailer.

    on my csf have set
    PORTS_smtpauth = 25,465,587
    PORTS_eximsyntax = 25,465,587

    Why i got problems with your plugin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @b_dark,

    Thanks for reaching out! The error indicates that your web server is blocking your SMTP connection requests.

    If your SMTP configurations are correct, it could be your server’s Firewall or ModSecurity rules are blocking your SMTP connection.

    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!

    Thread Starter Be Dark

    (@b_dark)

    Scenario 1
    Encryption TLS
    SMTP Port 465
    Authentication on

    test mail nothing i get keep loading until shows me 404 error the page its doesn’t exist.

    with SMTP Port 582

    Versions:
    WordPress: 6.0.1
    WordPress MS: Yes
    PHP: 7.4.30
    WP Mail SMTP: 3.5.1
    
    Params:
    Mailer: smtp
    Constants: Yes
    ErrorInfo: SMTP Error: Could not connect to SMTP host.
    Host: mail.mydomain.com
    Port: 582
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)
    
    Server:
    OpenSSL: OpenSSL 1.1.1q 5 Jul 2022
    
    Debug:
    Email Source: WP Mail SMTP
    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host.
    
    SMTP Debug:
    2022-07-20 19:42:38 Connection: opening to mail.mydomain.com:582, timeout=300, options=array()
    
    2022-07-20 19:42:38 Connection failed. Error #2: stream_socket_client(): unable to connect to mail.mydomain.com:582 (Connection refused) [/home/mydomain/public_html/wp-includes/PHPMailer/SMTP.php line 389]
    
    2022-07-20 19:42:38 SMTP ERROR: Failed to connect to server: Connection refused (111)
    
    SMTP Error: Could not connect to SMTP host.

    i disable from server the ConfigServer Security & Firewall – csf nothing deferent

    Scenario 2

    Encryption SSL
    SMTP Port 465
    Auto TLS On
    Authentication On
    Worked with and without firewall why?

    • This reply was modified 2 years, 4 months ago by Be Dark.
    Thread Starter Be Dark

    (@b_dark)

    Coz i use https on domains?

    Plugin Support Darshana

    (@darshanaw)

    Hi @b_dark,

    As I have mentioned earlier, you need to check that with your hosting support.

    Your server may have been configured in a specific way, and you can request them to open preferred ports.

    I hope this helps. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with port 465/tls’ is closed to new replies.