First, turn on the less secure app access
Visit – https://myaccount.google.com/lesssecureapps
then in .env add these credentials
MAIL_DRIVER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_USERNAME=*******
MAIL_PASSWORD=********
[email protected]
MAIL_FROM_NAME=Example
switch the MAIL_PORT between (465 or 587)
Test your Mail config
Visit here
No Comments
Leave a comment Cancel