Configuring Mail Server

Using a SMTP Server

Admin panel setup

Or use /.env file setup

It will look something like this:

MAIL_DRIVER=smtp
MAIL_HOST=your-mail-host
MAIL_PORT=your-mail-port
MAIL_USERNAME=your-mail-username
MAIL_PASSWORD=your-mail-password
MAIL_ENCRYPTION=your-mail-encryption

Caution: The .env file settings override those of the admin panel.

Note:

Don't forget to change your sender email address in your Admin panel -> Setup -> General Settings -> Mail -> Transactional Email Sender to match it with an allowed email address of your SMTP server.

Using Mandrill

Admin panel setup

Or use /.env file setup

MAIL_DRIVER=mandrill
MANDRILL_SECRET=your-mandrill-secret
MAIL_HOST=your-mandrill-smtp-host
MAIL_PORT=your-mandrill-smtp-port
MAIL_USERNAME=your-mandrill-smtp-username
MAIL_PASSWORD=your-mandrill-smtp-password
MAIL_ENCRYPTION=your-mandrill-smtp-encryption

Caution: The .env file settings override those of the admin panel.

Note:

Don't forget to change your sender email address in your Admin panel -> Setup -> General Settings -> Mail -> Transactional Email Sender to match it with an allowed email address of your Mandrill API configuration.

Using Amazon SES

Admin panel setup

Or use /.env file setup

MAIL_DRIVER=ses
SES_KEY=your-ses-key
SES_SECRET=your-ses-secret
SES_REGION=your-ses-region

Caution: The .env file settings override those of the admin panel.

Note:

Don't forget to change your sender email address in your Admin panel -> Setup -> General Settings -> Mail -> Transactional Email Sender to match it with an allowed email address of your Amazon SES API configuration.

Using Mailgun

Admin panel setup

Or use /.env file setup

MAIL_DRIVER=mailgun
MAILGUN_DOMAIN=your-mailgun-domain
MAILGUN_SECRET=your-mailgun-secret
MAILGUN_ENDPOINT=api.eu.mailgun.net
MAIL_HOST=your-mailgun-smtp-host
MAIL_PORT=your-mailgun-smtp-port
MAIL_USERNAME=your-mailgun-smtp-username
MAIL_PASSWORD=your-mailgun-smtp-password
MAIL_ENCRYPTION=your-mailgun-smtp-encryption

Caution: The .env file settings override those of the admin panel.

Note:

Don't forget to change your sender email address in your Admin panel -> Setup -> General Settings -> Mail -> Transactional Email Sender to match it with an allowed email address of your Mailgun API configuration.

Using Sparkpost

Admin panel setup

Or use /.env file setup

MAIL_DRIVER=sparkpost
SPARKPOST_SECRET=your-sparkpost-secret
MAIL_HOST=your-sparkpost-smtp-host
MAIL_PORT=your-sparkpost-smtp-port
MAIL_USERNAME=your-sparkpost-smtp-username
MAIL_PASSWORD=your-sparkpost-smtp-password
MAIL_ENCRYPTION=your-sparkpost-smtp-encryption
MAIL_DRIVER=sparkpost
SPARKPOST_SECRET=your-sparkpost-secret
MAIL_HOST=smtp.sparkpostmail.com
MAIL_PORT=587
MAIL_USERNAME=SMTP_Injection
MAIL_PASSWORD=your-sparkpost-secret
MAIL_ENCRYPTION=STARTTLS

Caution: The .env file settings override those of the admin panel.

Note:

Don't forget to change your sender email address in your Admin panel -> Setup -> General Settings -> Mail -> Transactional Email Sender to match it with an allowed email address of your Sparkpost API configuration.