Weekly product update: Support Center and improvements to Domains and Events APIs

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:

curl -s --user 'api:key-3ax6xnjp29jd6fds4gc373sgvjxteol0' -G \  
      https://api.mailgun.net/v2/samples.mailgun.org/events \
      --data-urlencode begin='Wed, 20 Nov 2013 09:00:00 -0000' \
      --data-urlencode event=failed \
      --data-urlencode severity=permanent \
      --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

 

comments powered by Disqus

Mailgun Get posts by email

Like what you're reading? Get these posts delivered to your inbox.

No spam, ever.