- Quick tips
How to Improve Holiday Supply Chain Communication with Email
We’ve been quiet for a couple weeks but we have something extra exciting to share today: we’ve just officially released our Domains API to make it easier to build large-scale email systems on top of Mailgun.
Many of our customers are building applications on top of Mailgun that allow their end customers to send email. Since you can operate multiple domains in a single Mailgun account, one of the things these customers can do is isolate one customer from another so that they each have their own white-label domain, their own sending queue, and their own SPF & DKIM records. Each customer’s sending reputation is also isolated, so if one customer gets the bad idea to buy an email list and send out spam, Mailgun can disable just that domain to protect your reputation, leaving other customers unaffected.
If you don’t want to give each customer their own domain, you could create buckets of domains for customers and manage reputation isolation that way. For example, you can have one domain that you use to send out your own transactional email and three buckets for your customers that you want to isolate. For example:
My transactional email: “myapp.com”
My new customers: “subnet1.myappmail.com”
My verified transactional customers: “subnet2.myappmail.com”
My verified bulk sending customers: “subnet3.myappmail.com”
Before the Domains API, each of these domains had to be created manually through the Mailgun control panel. That’s ok if you only have four domains like in this example, but what about if you have 4000? That’s a lot of clicking. Enter the Domains API…
With our newest API, you can do the following programmatically:
Retrieve list of domains: Returns list of domains under your account in JSON.
Retrieve details about a particular domain: Returns details for a single domain, including SMTP credentials and DNS records.
Create a new domain
Delete a domain
View the full Domains API guide
No, the Domains API is free to use and each Mailgun account can have up to 1000 domains. If you need more than 1000 domains, let us know so we can discuss a plan that works for you.
Happy sending, The Mailgunners
Last updated on August 28, 2020
How to Improve Holiday Supply Chain Communication with Email
What Is a RESTful API, How It Works, Advantages, and Examples
Email’s Not Dead Season 3 Is Finally Here
Continuing Our Commitment: HTTPS Innovation And Optimization
Easier and Faster Implementation with Our Updated SDKs
The Difference Between SMTP and API
Catch-All Domain Support Is Now Available In Email Validations
The Basics of Email Subdomains
The Science and Art of Gmail Deliverability
When Should You Use An Email API?
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Become an Email Pro With Our Templates API
Google Postmaster Tools: Understanding Sender Reputation
Navigating Your Career as a Woman in Tech
Implementing Dmarc – A Step-by-Step Guide
Email Bounces: What To Do About Them
Announcing InboxReady: The deliverability suite you need to hit the inbox
Black History Month in Tech: 7 Visionaries Who Shaped The Future
How To Create a Successful Triggered Email Program
Designing HTML Email Templates For Transactional Emails
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Implementing Dmarc – A Step-by-Step Guide
Announcing InboxReady: The deliverability suite you need to hit the inbox
Designing HTML Email Templates For Transactional Emails
Email Security Best Practices: How To Keep Your Email Program Safe
Mailgun’s Active Defense Against Log4j
Email Blasts: The Dos And Many Don’ts Of Mass Email Sending
Email's Best of 2021
5 Ideas For Better Developer-Designer Collaboration
Mailgun Joins Sinch: The Future of Customer Communications Is Here
Always be in the know and grab free email resources!
By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.