• kelseyjackson

    (@kelseyjackson)


    I keep getting the “could not connect to stmp host” when sending a test email. I’ve checked with the host and smtp.mail.yahoo.com on port 587 using tls encryption works fine they have run a test for me.

    Settings: smtp.mail.yahoo.com
    TLS
    STMP Port 587
    Authentication: on
    [email protected]
    stmp password: generated key from Yahoo

    Any ideas what I’m missing here?

    Versions:
    WordPress: 5.5.1
    WordPress MS: No
    PHP: 5.6.40
    WP Mail SMTP: 2.5.1

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

    Server:
    OpenSSL: OpenSSL 1.0.2u 20 Dec 2019

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

    SMTP Debug:
    2020-10-29 00:29:36 Connection: opening to smtp.mail.yahoo.com:587, timeout=300, options=array()

    2020-10-29 00:29:39 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.mail.yahoo.com:587 (Connection refused) [/home/somethin/public_html/wp-includes/PHPMailer/SMTP.php line 350]

    2020-10-29 00:29:39 SMTP ERROR: Failed to connect to server: Connection refused (111)

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

Viewing 1 replies (of 1 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @kelseyjackson,

    based on the error message:

    Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.mail.yahoo.com:587 (Connection refused)

    It looks like the smtp.mail.yahoo.com can’t be accessed and is most likely blocked by your web hosting.

    Maybe they are blocking the regular SMTP ports like 25, 465, and 587.

    Please contact your hosting company and ask them if these ports are blocked. And why you get the above error message stating the connection is refused.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with Yahoo STMP’ is closed to new replies.