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 D:\xampp\htdocs\PHP\1-Jun-2021\mailerClass\class.smtp.php code example
Example: stream_socket_enable_crypto(): ssl operation failed with code 1. openssl error messages: error:1416f086:ssl routines:tls_process_server_certificate:certificate verify failed
Try changing the app/config/email.php
smtp to mail