MAIL_DRIVER=mail MAIL_HOST=smtp.gmail.com MAIL_PORT=465 [email protected] MAIL_PASSWORD=azjlymwelnbkwzgj MAIL_ENCRYPTION=ssl [email protected] MAIL_FROM_NAME="${APP_NAME}" laravel code example
Example: laravel gmail send mail 2020
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=yourEmail@gmail.com
MAIL_PASSWORD=this code is generated read more down
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=yourEmail@gmail.com
MAIL_FROM_NAME=yourName
MAIL_LOG_CHANNEL=NULL