How to Set Up Mailgun for Sparkforge Email Sending
Sign up for Mailgun, add a domain or subdomain (US region), publish the five DNS records at your registrar, copy the API key into Sparkforge, then send a test email to confirm delivery.
Mailgun handles outbound email delivery for Sparkforge sends. Setup takes six steps and the only common snag is publishing DNS records at the right registrar.
Step 1: Create your Mailgun account
Sign up at signup.mailgun.com/new/signup and verify your email address from the confirmation message.
Step 2: Add your sending domain
- Go to Sending > Add New Domain.
- Choose either your main domain or a sending subdomain.
- Select the US region (not EU). Sparkforge expects US.
- Click Add Domain.
Main domain vs. subdomain
- Main domain (
companyname.com): only use this if the domain isn't already sending email through Google Workspace or another provider. - Subdomain (
mg.companyname.com,replies.companyname.com): recommended. Doesn't conflict with existing mailboxes.
Step 3: Find your DNS provider
If you aren't sure who hosts your DNS, look up the domain at mxtoolbox.com. The result lists the reporting nameserver (e.g., reported by wordpress.com). That's where the DNS records need to live.
Step 4: Publish the five DNS records
Mailgun gives you five records: two TXT (SPF and DKIM), two MX, and one CNAME for tracking. Add all five in your DNS provider, then click Verify in Mailgun.
Provider-specific guides exist for GoDaddy, Namecheap, Siteground, HostGator, Google Domains, and Cloudflare. The flow is the same: copy each record, create a matching record at the registrar, save.
Step 5: Copy the API key into Sparkforge
Once Mailgun shows the domain as verified, grab the API key from Mailgun's API security page and paste it into Sparkforge under your email integration settings.
Step 6: Send a test email
From the Sparkforge Conversations inbox, send a test email to a personal address. If it lands in the inbox (not spam), Mailgun is wired correctly.
Frequently Asked Questions
Should I use my main domain or a subdomain for Mailgun?
Why do I need to pick the US region in Mailgun?
How do I know which DNS provider hosts my domain?
What if my test email lands in spam?
Was this article helpful?
Thanks for the feedback.