WP Mail SMTP: Could not connect to the SMTP host
-
I keep getting this error when i try to send a test email on WP Mail SMTP, although my configuration is all correct.
My email hosting company is GoDaddy and the error message says that the reasons could be:-Your web server is blocking the connection.
-Your SMTP host is rejecting the connection.So it seems GoDaddy are the one who’s blocking from sending email from WP mail SMTP plugin, so I called their support but they said “no we don’t block any sending SMTP port, so I have no idea why this is happening
Here is the full Error Log:
Versions:
WordPress: 5.5.3
WordPress MS: No
PHP: 7.4.11
WP Mail SMTP: 2.5.1Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtpout.secureserver.net
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)Server:
OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
Apache.mod_security: NoDebug:
Mailer: Other SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingSMTP Debug:
2020-11-27 14:22:23 Connection: opening to smtpout.secureserver.net:587, timeout=300, options=array()2020-11-27 14:22:29 Connection failed. Error #2: stream_socket_client(): unable to connect to smtpout.secureserver.net:587 (Connection refused) [/home/hggl2ztxs2dw/public_html/wp-includes/PHPMailer/SMTP.php line 344]
2020-11-27 14:22:29 SMTP ERROR: Failed to connect to server: Connection refused (111)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
- The topic ‘WP Mail SMTP: Could not connect to the SMTP host’ is closed to new replies.