Configure Mailgun mail driver protocol settings for your email server.
Mailgun is a transactional email service used by developers and information technology professionals to send, receive, and track emails using its powerful Application Program Interface (API).
Mailgun requires that your email server be registered with their service. Therefore, prior to configuring your email server to use Mailgun, ensure that have registered with their service and you have received the Mailgun domain name and secret for your email server.
See the following example containing a Mailgun mailer driver.
The Send Email package must be installed.
Your user account or group membership must have the "Settings: Update Settings" permission to edit email server settings unless your user account has the Make this user a Super Admin setting selected.
See the Settings permissions or ask your Administrator for assistance.
To configure a Mailgun email server, the following information is needed:
Mailgun secret
Mailgun domain
To generate or locate this information, refer to Where Can I Find My API Key and SMTP Credentials?
Configure the following Mailgun settings as necessary:
Create a new email server configuration. The settings for the new email server display. By default smtp is selected as the mailer driver.
Select the mailgun option, and then click Save. The settings for the Mailgun email server display.
Enter your Mailgun domain, and then click Save.
Enter your Mailgun secret, and then click Save.
Enter the email address that this server uses to send emails, and then click Save.
Enter the person or company name that sends the email, and then click Save.
Consider the following example for a Mailgun mail server configuration:
Mailer driver: mailgun
Mailgun Domain: BigCompany.mailgun.org
Mailgun Secret
: •••••••••••••••••••••
Sender Email: LouisCanera@BigCompany.com
Sender Name: LouisCanera
Click the Edit icon for the Mailer driver setting. The Mailer driver screen displays.
Click the Edit icon for the Mailgun Domain setting. The Mailgun Domain screen displays.
Click the Edit icon for the Mailgun Secret setting. The Mailgun Secret screen displays.
Click the Edit icon for the Sender Email setting. The Sender Email screen displays.
Click the Edit icon for the Sender Name setting. The Sender Name screen displays.