Replies: 1
Hi,
I am using WP Mail SMTP and configured it to send emails to my gmail account using the “Other SMTP” mailer option.
Originally everything was working fine and emails were successfully sent, however I recently noticed that the emails are not sent anymore.
When trying to send a test email from the WP Mail SMTP admin screen, I get the following error log:
Versions:
WordPress: 5.2.2
WordPress MS: No
PHP: 7.0.33-0ubuntu0.16.04.5
WP Mail SMTP: 1.5.2
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.0.2g 1 Mar 2016
Apache.mod_security: No
SMTP Debug:
2019-08-10 22:05:02 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
)
2019-08-10 22:05:02 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
2019-08-10 22:05:02 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto
2019-08-10 22:05:02 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)
2019-08-10 22:05:02 SMTP ERROR: Failed to connect to server: (0)
2019-08-10 22:05:02 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Will appreciate any assistance/guidance with resolving this.
Thanks,
Amir.