Skip to content
MailerAce

Integration · Laravel

Laravel mail SMTP configuration

Laravel ships with an SMTP mailer. Only your .env needs to change.

Steps

  1. 1Create an SMTP credential in MailerAce.
  2. 2Update your .env as below.
  3. 3Clear the config cache with php artisan config:clear.
  4. 4Send a test with php artisan tinker or a queued mailable.

Connection settings

Host
smtp.mailerace.com
Port
587 (STARTTLS) or 465 (TLS)
Auth
your SMTP credential
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailerace.com
MAIL_PORT=587
MAIL_USERNAME=your_smtp_username
MAIL_PASSWORD=your_smtp_password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

Send from Laravel with confidence

Authenticated, signed and delivered from warm IPs, with a log of every message.