A simple method for resolving this issue in a few seconds.
Are you dealing with this problem:
Connection could not be established with host "ssl://smtp.mailtrap.io:2525": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
No more chit-chat, let's get back to business.1st Step: open your .env file:
And then scroll down:
Look at your MAIL_ENCRYPTION. If your MAIL_ENCRYPTION='tls', Then change it into 'ssl'.
Now reload your project file and verify your mailtrap verification. I'm hoping this works. If this does not work let me know in the comment section.
If you want to see more problem solving related to this then checkout our site:Anime24newsupdate
Tags
web development