Replies: 0
There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.5
WordPress MS: No
PHP: 5.6.33
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-04-16 08:47:48 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
)
2018-04-16 08:47:50 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)
2018-04-16 08:47:50 SMTP ERROR: Failed to connect to server: Connection refused (111)
2018-04-16 08:47:50 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting