All about Mail Configuration

Mail Configuration

To send emails from the application, you must have configure the mail driver.

Mail Config

The log driver doesn't send any email. It only logs the email in storage/logs/laravel.log file

To use the Mailgun driver, you must have valid & active mailgun account. You need to add your domain in your mailgun account & activate it. Once activated, you can use your domain, secret key & mailgun end point to send emails.

To use the SMTP driver, you must have a valid SMTP carrier. If you use Gmail SMTP, please make sure you have disabled less secure app option in your Gmail account.

A new function "Test Mail Configuration" is added to test the mail configuration. You can click it once and get a test mail if your mail configuration is correct. If you get an error, it means there is some issue with the mail configuration which you need to fix.

Newsletter Subscription

Subscribe & get latest updates from ScriptMint

Related Articles