Skip to content

How to Configure Mailgun in Icegram Express

Max

Configure 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

  1. Log in to your Mailgun dashboard (or create a new account).

  2. Navigate to Sending > Domains in the left menu and click Add New Domain.

    Add new sending domain in Mailgun dashboard
  3. Enter a dedicated sending subdomain (e.g., mg.yourdomain.com or mail.yourdomain.com). Using a subdomain prevents conflicts with existing corporate email setups.

  4. Select your domain region (US or EU depending on where your audience is based).

  5. Choose 2048-bit for DKIM Authority key length for maximum cryptographic security.

  6. Click Add Domain.

  7. Open your DNS provider (Cloudflare, cPanel, GoDaddy, etc.) and add the TXT (SPF and DKIM) and MX records specified by Mailgun.

  8. Back in Mailgun, click Verify DNS Settings until the domain status turns green/active.

Part 2: Obtain Your Mailgun Private API Key

  1. In the top right corner of Mailgun, click your user avatar and select API Keys (or API Security).
  2. Locate the Private API Key (or create a new sending API key).
  3. 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

  1. In your WordPress admin, go to Icegram Express > Settings > Email Sending.

  2. Scroll to the Select a mailer to send mail section and select Mailgun.

    Select Mailgun mailer card in Icegram Express settings
  3. 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.
  4. Click Save Settings.

  5. Use the Send Test Email tool at the top of the Email Sending tab to verify your connection.