August 16, 2022 • 1 min read #config #laravel #mail #snippet Laravel Gmail Config Enable 2-step verification in Gmail (required for app-passwords) Generate a new App PasswordApp = Mail Device = Other (custom name) Copy 16 character password into following .env variables Terminal bash Copy copied successfully MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 [email protected] MAIL_PASSWORD=yourapppassword MAIL_ENCRYPTION=ssl On this page