---
title: "How to connect Mailgun?"
description: "Configure your Mailgun for warmup"
url: https://help.e-warmup.com/en/articles/39-how-to-connect-mailgun
collection: "Connection Guides"
updated: 2026-06-30
language: en
---

# How to connect Mailgun?

Configure your Mailgun for warmup

To connect Mailgun to E-Warmup, you can follow these steps:

**Configure your Mailgun domain for warmup**

To connect your Mailgun sending domain / mailbox to E-Warmup, you'll use SMTP credentials. This is the standard way for ESPs like Mailgun.

### Prerequisites

-   A verified domain in your Mailgun account (DNS records — SPF, DKIM, etc. — should be set up correctly for best deliverability).
    
-   Access to your Mailgun dashboard.
    

### Step 1: Log in to Mailgun and go to Domain Settings

1.  Log into your [Mailgun Control Panel](https://login.mailgun.com/).
    
2.  In the left sidebar, navigate to **Sending** → **Domains**.
    
3.  Select the domain you want to warm up.
    
4.  Click **Domain Settings** (or go directly to the SMTP credentials section).
    

### Step 2: Locate or Create SMTP Credentials

1.  In Domain Settings, switch to the **SMTP Credentials** tab.
    
2.  You'll see your default SMTP login (usually something like [postmaster@yourdomain.com](mailto:postmaster@yourdomain.com) or a custom one).
    
3.  If needed, click **Add new SMTP credential** or reset the password for the existing one. Mailgun will generate/show the password (note it down securely — it won't be shown again in plain text).
    

**Important SMTP Details for E-Warmup:**

-   **SMTP Host**: [smtp.mailgun.org](https://smtp.mailgun.org)
    
-   **SMTP Port**: 587 (with STARTTLS) or 465 (preferred with SSL/TLS)
    
-   **SMTP Username**: Your SMTP login (e.g., [postmaster@yourdomain.com](mailto:postmaster@yourdomain.com))
    
-   **SMTP Password**: The credential password you noted
    
-   **SSL/TLS**: Enabled (ON)
    

### Step 3: Connect in E-Warmup

1.  Log into your E-Warmup dashboard.
    
2.  Go to the connection / add inbox section and select the **Mailgun** (or **Custom SMTP**) option.
    
3.  Enter the SMTP details from above details.
    
4.  Enter the IMAP details of your mailbox. Please note that, IMAP details will be your mail receiving credentials in IMAP format. It can be your regular mailbox credentials (for example, Google Workspace or Webmail)
    
5.  Connect.
    

DONE!! Your Mailgun domain/mailbox will now warm up automatically with real inboxes.

P.S: If you are facing difficulties or not familiar with this technical setup, you can schedule a call with us or email at support@e-warmup.com
