First, turn on the less secure app access
Visit – https://myaccount.google.com/lesssecureapps
![](https://rdevs.xyz/wp-content/uploads/2022/02/Screenshot-2022-02-16-at-10.19.03-AM-1024x494.png)
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