• Resolved exxis

    (@exxis)


    I’ve currently have a problem to set it up.

    I don’t know whats wrong.

    If I use Port 25 or 587 I get Could not connect to the SMTP host
    If I use smtp port 465 I get a 504 gateway timeout.

    The smtp host should be the correct one since it’s the same name as the plesk hostname. I don’t have a ssl certificate on the server because I use cloudflare with their certificate.
    Don’t know currently what to do to get it working.

    greets
    exxis

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter exxis

    (@exxis)

    Tried some around, getting this error now

    Versions:
    WordPress: 5.2.2
    WordPress MS: No
    PHP: 7.3.6
    WP Mail SMTP: 1.4.2

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

    Server:
    OpenSSL: OpenSSL 1.1.0j 20 Nov 2018
    SMTP Debug:
    2019-06-23 05:25:58 Connection: opening to ssl://mail.xxx.com:465, timeout=300, options=array (
    )
    2019-06-23 05:25:58 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
    error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
    2019-06-23 05:25:58 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): Failed to enable crypto
    2019-06-23 05:25:58 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl:

    Thread Starter exxis

    (@exxis)

    Ok I’ve switch autotls off seems to work, receiving the emails still with tls encrypted.

    Hi @exxis,

    I’m glad to know that you’ve sorted this out. In some cases, due to server misconfigurations, Auto TLS can cause issues and may need to be disabled. With Auto TLS off the emails most likely are not tls encrypted but it depends on the mail server you’re using.

    Thank You!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Coult not connect to SMTP host or 504 timeout’ is closed to new replies.