Getting error message when testing website contact form (phpmailer) in localhost:
"Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in C:\xampp\htdocs\phpmailer\class.smtp.php on line 368"
This website is an old project that was never published, but I remember that the contact form was working when I last tested it in localhost. I think its got an older version of PHPmailer, but I'm not really sure how check that.
And I understand that this is a certificate error and updating it may fix the problem, but I don't really know how to do that. Please advise.