This article will walk you through the full process of creating your MailGun account.
Select a Plan and Create an Account at www.mailgun.com
MailGun has a variety of plans available, from as low as $0 (a trial account) to $90 a month. We're going to walk you through what each plan offers:
Trial: Great to test it out, not great for a functioning business - you may experience issues or limitations with receiving emails.
$35/Month: Send, receive, and track up to 50,000 emails. Good option for smaller business, however might experience deliverability issues since it’s doesn’t include a dedicated IP address.
$80/Month: Optimize sending with deliverability tools and enhanced support. Includes a dedicated IP address and more secured deliverability for 100,000 + emails.
$90/Month: Everything included in previous plan + chat and phone support from MailGun
NOTE: Plans with a dedicated IP address are best for deliverability of your emails.
Create your subdomain in Mailgun
Step 1: Log in to your Mailgun account and your DNS manager (Godaddy, Cloudflare, etc)
Step 2: Select the domain you want to use for Mailgun from a domain you already own or have purchased. You will set-up a subdomain for Mailgun so it's ok to choose a domain that is already being used.
Step 3: Navigate to your Mailgun account, select Domains from the menu at the top. Then click Add New Domain.
Step 4: Create a subdomain such as replies.yourdomain.com or mg.yourdomain.com and enter it in the Domain Name field.
Step 5: You can leave all other settings as default.
Step 6: Click Add Domain
Setup the Subdomain Records in Your DNS Manager
Step 1: In Mailgun, you will see the DNS entries; 2 TXT records, 2 MX records, and 1 CNAME record. Go into your DNS manager where you will set up the DNS entries.
Step 2: Navigate to the DNS record section for the domain you are using within MailGun. You will now set up the 5 DNS records to ensure proper sending, replies and tracking.
Follow directions in mailgun. Records are unique to your domain and mailgun account.
- TXT Records
- These are to validate permission for mailgun to send emails.
- MX Records
- These are so replies can be received and emails can be sent.
- CNAME Records
- This is for tracking clicks from your emails
- The host will be a sub, subdomain. For example, emails.mg or emails.reply
Step 3: After adding and saving all 5 records, click "Verify DNS Settings" within MailGun. All 5 should have the green check mark. If any do not, check the record and re-attempt.
NOTE: If the green check marks are not showing up, you'll want to ensure that the Host pieces for each record only have the sub-domain piece of the total record. For example, if the total record is mailo._domainkey.mg.mydomain.com, you would only put in mailo._domainkey.mg
Connect your MailGun account
Step 1: Navigate to API
- Click on Settings on the left-hand side of the Mailgun dashboard.
- Select API Keys from the menu below on the left-hand side.
- On the following page, under the API Keys section, you'll see your Private API key.
- Click on the eye icon to make the full API key visible. Copy this API key.
Step 2: Submit a Support Ticket to send us your API (paste the API key in the text, from step 1 above.)
NOTE: Ensure that you approve any verification emails that are sent to your inbox as the app attempts to integrate with your email platform. If you are receiving an error message, this is often the cause.