How to send email via Laravel ?

 

Create Mailgun account

https://app.mailgun.com/app/dashboard

Update .env

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=XXXXXXXXXXXXXXXXXXXXX
MAIL_PASSWORD=XXXXXXXXXXXXXXXXXXXXX

Clear Cache

php artisan config:cache

Comments

Popular posts from this blog

How to fix pgDump dbeaver ?

Best PHP comment DockBlock !