Mail config in laravel

Posted 1 year ago by Thameera

i try to send mail using laravel first i try with mailtrap.io for testing but it works fine when i change the env file to smtp it shows error as stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed or host not found my env file is belowMAIL_DRIVER=smtp

MAIL_PORT=587
MAIL_USERNAME=***********
MAIL_PASSWORD=**********
MAIL_ENCRYPTION=TLS```
 can you help for correct configuration


Please sign in or create an account to participate in this conversation.