Hi,
In a moodle installation version 3.3.2 I use the SMTP gmail service to send emails.
As of September 27, it has not been possible to send email, before this date it has always worked well
I activated the debugsmtp option and the message that is displayed is as follows:
2017-10-06 18:40:16 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (Any idea to solve this problem
)
2017-10-06 18:40:17 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed [D:\apps\moodle\moodleapp\lib\phpmailer\class.smtp.php line 293]
2017-10-06 18:40:17 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [D:\apps\moodle\moodleapp\lib\phpmailer\class.smtp.php line 293]
2017-10-06 18:40:17 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [D:\apps\moodle\moodleapp\lib\phpmailer\class.smtp.php line 293]
2017-10-06 18:40:17 SMTP ERROR: Failed to connect to server: (0)
2017-10-06 18:40:17 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting