Server Setup

Laravel Mail Configuration

by ,


We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install nginx, Varnish and lots of useful modules for them, this is your one stop repository to get all performance related software.
You have to maintain an active subscription in order to be able to use the repository!

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"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.