Mail Configurations

Since Junker uses the Laravel Framework, email configuration for different services is easy.

All configurations mentioned here are in the .env file.

Mail configuration will be added to the Admin Interface in a future release.

Mailgun

Set MAIL_DRIVER to mailgun and:

MAILGUN_DOMAIN=your-mailgun-domain
MAILGUN_SECRET=your-mailgun-key

Mandrill

Set MAIL_DRIVER to mandrill and:

MANDRILL_SECRET=your-mandrill-key

SparkPost

Set MAIL_DRIVER to sparkpost and:

SPARKPOST_SECRET=your-sparkpost-key

SMTP

The SMTP works well for sending emails individually, for example, when the user register an account or request for a password change. SMTP doesn’t work for batch emails (like Search Alerts). It’s recommended to use a dedicated mail service. This documentation is included as reference.

To enable SMTP, you should set MAIL_DRIVER=smtp on your .env file along with the following settings:

MAIL_PORT=port
MAIL_ENCRYPTION=tls
MAIL_HOST=host
MAIL_USERNAME=smtp-username
MAIL_PASSWORD=smtp-password