SMTP connect() failed
-
There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.3
WordPress MS: No
PHP: 7.1.33
WP Mail SMTP: 1.2.2Params:
Mailer: smtp
Constants: Yes
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.gmail.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2021-02-05 09:00:41 Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
)
2021-02-05 09:00:42 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to smtp.gmail.com:587 (Network is unreachable)
2021-02-05 09:00:42 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
2021-02-05 09:00:42 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
- The topic ‘SMTP connect() failed’ is closed to new replies.