Hi I have installed the WP Mail SMTP plugin but get the following error when I try to send a test email. Any help appreciated! Thanks, Carol
There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.6
WordPress MS: No
PHP: 5.6.35
WP Mail SMTP: 1.2.5
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(false)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-06-07 09:40:23 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
)
2018-06-07 09:40:25 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable)
2018-06-07 09:40:25 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
2018-06-07 09:40:25 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting