Hi i have the same problem
2017-10-10 20:05:43 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ()
2017-10-10 20:05:43 Connection failed. Error #2: stream_socket_client(): Peer certificate CN=srv37.benzahosting.cl' did not match expected CN=
smtp.gmail.com’ [/home/plantadv/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 294]
2017-10-10 20:05:43 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/plantadv/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 294]
2017-10-10 20:05:43 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [/home/plantadv/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 294]
2017-10-10 20:05:43 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
what can i do?