How to Configure Mailgun in Icegram Express
MaxConfigure Mailgun API to send marketing newsletters and automated emails reliably from Icegram Express.
Mailgun is a powerful email delivery API built for developers and businesses that require high deliverability, comprehensive log tracking, and scalable sending volume.
Part 1: Add and Verify Your Domain in Mailgun
-
Log in to your Mailgun dashboard (or create a new account).
-
Navigate to Sending > Domains in the left menu and click Add New Domain.

-
Enter a dedicated sending subdomain (e.g.,
mg.yourdomain.comormail.yourdomain.com). Using a subdomain prevents conflicts with existing corporate email setups. -
Select your domain region (US or EU depending on where your audience is based).
-
Choose 2048-bit for DKIM Authority key length for maximum cryptographic security.
-
Click Add Domain.
-
Open your DNS provider (Cloudflare, cPanel, GoDaddy, etc.) and add the TXT (SPF and DKIM) and MX records specified by Mailgun.
-
Back in Mailgun, click Verify DNS Settings until the domain status turns green/active.
Part 2: Obtain Your Mailgun Private API Key
- In the top right corner of Mailgun, click your user avatar and select API Keys (or API Security).
- Locate the Private API Key (or create a new sending API key).
- Click the eye icon to unmask the key and copy the entire string (including any
key-prefix if present).
Part 3: Configure Mailgun in Icegram Express
-
In your WordPress admin, go to Icegram Express > Settings > Email Sending.
-
Scroll to the Select a mailer to send mail section and select Mailgun.

-
Enter your Mailgun configuration:
- Private API Key: Paste the key copied from your Mailgun dashboard.
- Domain Name: Enter the exact sending subdomain configured in Mailgun (e.g.,
mg.yourdomain.com). - Region: Select US or EU to match your Mailgun account settings.
-
Click Save Settings.
-
Use the Send Test Email tool at the top of the Email Sending tab to verify your connection.