[Laravel] Settingn on .evn for mailing on Laravel

Post Reply
tthlan
Quản trị viên
Posts: 76
Joined: Tue Aug 23, 2016 8:13 am

[Laravel] Settingn on .evn for mailing on Laravel

Post 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
Post Reply