--- title: "Mailgun Mailer" slug: "mailgun-mailer" updated: 2024-09-23T02:41:34Z published: 2024-09-23T02:41:34Z canonical: "docs.processmaker.com/mailgun-mailer" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.processmaker.com/llms.txt > Use this file to discover all available pages before exploring further. # Mailgun Mailer ## Mailgun Mailer Driver Settings [Mailgun](https://www.mailgun.com/) 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. ## Configure Mailgun Mailer Driver Settings **Permissions** 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](/v1/docs/permission-descriptions-for-users-and-groups#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?](https://help.mailgun.com/hc/en-us/articles/203380100-Where-Can-I-Find-My-API-Key-and-SMTP-Credentials-) Configure the following Mailgun settings as necessary: 1. [Create a new email server configuration](/v1/docs/email-default-settings#create-a-new-email-server-configuration). The settings for the new email server display. By default **smtp** is selected as the mailer driver. 2. Click the **Edit** ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b3630a8e-2828-4a12-a117-278a547a47b7.png) icon for the **Mailer driver** setting. The **Mailer driver** screen displays.![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b9874784-2490-4843-9275-c11318e51b28.png) 3. Select the **mailgun** option, and then click **Save**. The settings for the Mailgun email server display. 4. Click the **Edit** ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b3630a8e-2828-4a12-a117-278a547a47b7.png) icon for the **Mailgun Domain** setting. The **Mailgun Domain** screen displays. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/2d07b87b-7f93-4ef7-9a09-6ce2720160c9.png) 5. Enter your Mailgun domain, and then click **Save**. 6. Click the **Edit** ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b3630a8e-2828-4a12-a117-278a547a47b7.png) icon for the **Mailgun Secret** setting. The **Mailgun Secret** screen displays. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/e7e09081-5e82-433f-87e0-dc7ef32bca43.png) 7. Enter your Mailgun secret, and then click **Save**. 8. Click the **Edit** ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b3630a8e-2828-4a12-a117-278a547a47b7.png) icon for the **Sender Email** setting. The **Sender Email** screen displays. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/66f21434-1ae4-4d95-a456-37c360d0cc31.png) 9. Enter the email address that this server uses to send emails, and then click **Save**. 10. Click the **Edit** ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b3630a8e-2828-4a12-a117-278a547a47b7.png) icon for the **Sender Name** setting. The **Sender Name** screen displays. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/b1208155-a124-45c4-8ee6-77b9d1eb984e.png) 11. Enter the person or company name that sends the email, and then click **Save**. 12. [Optionally, send a test email to ensure that the email server configuration functions correctly](/v1/docs/email-default-settings#send-a-test-email-using-an-email-server-configuration). ## Example Mailgun Email Server Configuration 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`