(please specify the website or account you are asking about)
SMTP connect() Error
(please share the FULL error message you see)
2020-08-07 10:40:58 SERVER β CLIENT: 220 2.0.0 SMTP server ready
2020-08-07 10:40:58 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed [/home/vol6_5/epizy.com/epiz_25602795/htdocs/PHPMailer/class.smtp.php line 374]
SMTP Error: Could not connect to SMTP host.
2020-08-07 10:40:58 CLIENT β SERVER: QUIT
2020-08-07 10:40:58 SMTP β get_lines(): $data is ββ
2020-08-07 10:40:58 SMTP β get_lines(): $str is ββ
2020-08-07 10:40:58 SERVER β CLIENT:
2020-08-07 10:40:58 SMTP ERROR: QUIT command failed:
2020-08-07 10:40:58 Connection: closed
Other Information
This had been previously working for months and suddenly this issue has reoccured. The smtp setting are correct and code has not changed.
$mail->Host = βsmtp.live.comβ; // Which SMTP server to use.
$mail->Port = 587; // Which port to use, 587 is the default port for TLS security.
$mail->SMTPSecure = βtlsβ; // Which security method to use. TLS is most secure.
$mail->SMTPAuth = true; // Whether you need to login. This is almost always required.
$mail->Username = β****************"; // Your Gmail address.
$mail->Password = "β; // Your Gmail login password or App Specific Password.