Replies: 1
My contact form is not working properly (plug in is WP Mail SMTP). I tried to send test email but I always get error message below:
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.4.45
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
SMTP Debug:
2018-06-13 05:01:32 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
)
2018-06-13 05:01:34 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-13 05:01:34 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
2018-06-13 05:01:34 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues.
Is there anyway I can fix this??? Thank you!