First turn setting 2-Step Verification on gmail security.
After Generated app password on gmail setting : https://myaccount.google.com/security , itjmyhddovtttbkm for MAIL_PASSWORD
update on .env of your laravel project
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=xxxx@gmail.com
MAIL_PASSWORD=itjmyhddovtttbkm
MAIL_ENCRYPTION=ssl
[Laravel] Settingn on .evn for mailing on Laravel
-
- Quản trị viên
- Posts: 76
- Joined: Tue Aug 23, 2016 8:13 am