Site icon GetPageSpeed

Laravel Mail Configuration

Internet Email

Internet Email

If you have configured your server to correctly send outgoing emails, you don’t need any third party services.

Here’s Laravel 5 configuration to send email using local MTA (sendmail driver). Add the following to your .env file:

MAIL_DRIVER=sendmail
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=noreply@example.com
MAIL_FROM_NAME="Site Name"
Exit mobile version