• What's new

Weekly Product Update: Support Center And Improvements To Domains And Events APIs

Mailgun Team
5 min read

This week we worked on a few things that we think will make a big impact for customers, particularly our shiny new Support Center. We also made some improvements to the Domains and Events APIs. So without further ado:

New Support Center makes keeping track of tickets much easier

We pride ourselves on being available for our users, but the process for creating and following up on a ticket hasn’t been very easy. So this week we rolled out our new Support Center where, in addition to being able to get useful links to FAQs and debugging tools (RequestBin, anyone?), you can submit and follow up on support tickets. Rather than having to search through your inbox, you can find all your support tickets in one place, along with their status. As always, you can jump on live chat and we can help you troubleshoot your issues in real-time.

New parameter in Events API let’s you filter by temporary vs. permanent failures

When Mailgun can’t deliver a message, we log the reason. These events, not surprisingly, are called failures, and you can use our Events API to pull a list of failed events. There are different reasons that messages fail, however, and before today, you couldn’t use the API to retrieve messages that failed temporarily (maybe because the recipient mail server was down) versus failed permanently (maybe because the email address is invalid). Now, you can use a new filter expression, severity. Failures can either be “temporary” or “permanent”. For example, here’s how you would pull all permanently failed since Wednesday, November 20th:

1curl -s --user 'api:key-3ax6xnjp29jd6fds4gc373sgvjxteol0' -G
2 https://api.mailgun.net/v2/samples.mailgun.org/events
3 --data-urlencode begin='Wed, 20 Nov 2013 09:00:00 -0000'
4 --data-urlencode event=failed
5 --data-urlencode severity=permanent
6 --data-urlencode ascending=yes

We hope you’ll find this new parameter useful.

Improvements to Domains API

Since the release of our Domains API, we’ve seen several customers leveraging the power of creating domains programmatically. With that, we’ve received some feedback! Today, we’ve pushed out a small change that should make it easier for you to setup and configure domains with Mailgun.

We’ve added two new parameters: ‘spam_action’ and ‘wildcard’. If you’re familiar with our Control Panel, you’ll notice these are options exist, but weren’t exposed at the API. Check out our Domains documentation for more information regarding these parameters.

In addition to these parameters, we are now returning the DNS records upon domain creation. Previously, you would need to create the domain, then issue a GET on the domain resource to obtain the DNS record values. Now, we return the DNS records in the domain creation result. An example would look something similar to this:

{ "domain": { "created_at": "Wed, 10 Jul 2013 19:26:52 GMT", "smtp_login": "postmaster@domain.com", "name": "domain.com", "smtp_password": "4rtqo4p6rrx9", "wildcard": false, "spam_action": "tag" }, "receiving_dns_records": [ { "priority": "10", "record_type": "MX", "valid": "valid", "value": "mxa.mailgun.org" }, { "priority": "10", "record_type": "MX", "valid": "valid", "value": "mxb.mailgun.org" } ], "sending_dns_records": [ { "record_type": "TXT", "valid": "valid", "name": "domain.com", "value": "v=spf1 include:mailgun.org ~all" }, { "record_type": "TXT", "valid": "valid", "name": "domain.com", "value": "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUA...." }, { "record_type": "CNAME", "valid": "valid", "name": "email.domain.com", "value": "mailgun.org" } ] }

We hope these new features will help you get more out of Mailgun. As always, let us know what you think.

The Mailgunners


Learn about our Deliverability Services

Looking to send a high volume of emails? Our email experts can supercharge your email performance. See how we've helped companies like Lyft, Shopify, Github increase their email delivery rates to an average of 97%.

Learn More

Last updated on May 04, 2021

  • Related posts
  • Recent posts
  • Top posts
View all

Always be in the know and grab free email resources!

No spam, ever. Only musings and writings from the Mailgun team.

By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.

sign up
It's easy to get started. And it's free.
See what you can accomplish with the world's best email delivery platform.
Sign up for Free