Page 1 of 1

[Laravel] Settingn on .evn for mailing on Laravel

Posted: Thu Oct 26, 2017 3:51 am
by tthlan
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