Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5161

SMTP connect() failed

$
0
0

Replies: 0

I switched to a new hosting and got this error, in the old hosting it still works fine:

Versions:
WordPress: 5.7.2
WordPress MS: No
PHP: 5.6.40
WP Mail SMTP: 2.9.0

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

Server:
OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
Apache.mod_security: No

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

SMTP Debug:
2021-06-28 15:37:37 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()

2021-06-28 15:37:38 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable) [/home/mysite/public_html/wp-includes/PHPMailer/SMTP.php line 393]

2021-06-28 15:37:38 SMTP ERROR: Failed to connect to server: Network is unreachable (101)

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

Viewing all articles
Browse latest Browse all 5161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>