MailGun API

Applies to: Jamroom 7.0+ Last verified: 2026-10-24
  • What it does

    MailGun API sends your site's email through Mailgun, an email delivery service. Mail sent straight from a web server often doesn't arrive, or lands in spam. A delivery service like Mailgun gets far more of it delivered.

    It also:

    • turns off email for members whose address bounces
    • shows bounces, spam complaints and blocked domains
    • logs every message, so you can see what was delivered
    • can check addresses at signup (Mailgun's paid validation service)

    ACP > Modules > Communication > MailGun API

  • Setting it up

    1. Create a Mailgun account and add your sending domain, for example mg.yoursite.com. Add the DNS records Mailgun gives you and wait until Mailgun shows the domain as verified.
    2. In Global Config, enter your Private API Key and the Mailgun Domain.
    3. In Email Support Global Config, set Active Email System to MailGun Email API. Set the From Email Address to an address at your Mailgun domain.
    4. Send a test from the Email Support Test Email tab. The System Check also shows whether the MailGun API settings work.
  • Delivery logs and bounces

    The Tools tab has:

    Tool What it shows
    Email Delivery Log Every message Mailgun handled, and what happened to it
    Bounces and Failures Addresses that bounced or failed
    Spam Complaints Members who marked your email as spam. Mailgun stops sending to them. Remove complaint lets them get email again.
    Blocked Domains Mail domains that refused your email, for example because of a blocklist

    New bounces are fetched every 10 minutes. A member whose address bounces has their email notifications turned off. In ACP > Users > User Accounts, bouncing or invalid addresses are marked. The ACP Dashboard has a MailGun tab with the same logs, plus a DMARC tab. It lists the DMARC reports for your domain once a Mailgun route forwards those report emails to yoursite.com/mailgun/webhook.

  • Global Config

    Setting What it does
    Private API Key Your Mailgun private API key, from the Mailgun control panel
    Mailgun Domain Your sending domain, without https://. If you enter several, separated by commas, the one that matches the From address is used.
    Log Blocked Keywords One per line. When a bounce reason contains one of them, the domain is added to Blocked Domains and the Activity Log.

    Email Validation (optional, a paid Mailgun service):

    Setting What it does
    Public Validation Key Your Mailgun public validation key
    Max Daily Validations How many existing members' addresses to check each day (0 = none). New accounts are checked anyway.
    Address Check Enabled Checks the address at signup. If it can't receive mail, the person is asked for another one.

Tags