Product

The official Go SDK, available now

Great news, you can now send messages through Mailgun using Go! Mailgun-go allows you to interact with our API wihtout all of that boiler-plate code. Read more –

Today, we’re happy to announce the general availability of our Mailgun-Go SDK. Now you can send messages through Mailgun using Go! Mailgun-Go allows you to easily interact with our API by greatly reducing the amount of boiler-plate code you need to maintain.

Our SDK is built from a simple foundation graciously offered by Michael Banzon on Github. We are truly indebted to him for his support. We added features on top of his own SDK, including significantly enhanced API coverage, and a rich set of acceptance tests to help developers get started and better understand how to use the SDK.

Mailgun-Go lets you send messages to mailing lists of arbitrary size, subject only to the limitations of your Mailgun account. Here’s a simple example where we send one message to three recipients:

0

and here’s one where we send the same message to potentially millions of recipients:

0

As you can see, the Mailgun-Go SDK provides an interface that scales pleasantly with your needs.

We will be updating our online documentation to include Go examples soon. In the meantime, please feel free to consult our documentation on GoDoc, read the acceptance tests in our Github repository, or open a new issue through Github or your control panel. We’ll be happy to answer any questions you have!

Happy Sending!

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.

Related readings

Golang’s superior cache solution to Memcached and Redis

GroupCache has been a fantastic addition to our distributed services toolset at Mailgun. Here's how you can implement it in yours...

Read more

HTTP/2 Cleartext (H2C) client example in Go

Since my internet foo failed me, and the only workable example of an H2C client I can find was in the actual go test suite...

Read more

How we built a Lucene-inspired parser in Go

At Mailgun we have numerous systems generating a ton of events every hour of the day. It’s...

Read more

Popular posts

Mailgun iconSee what you can accomplish with the world's best email delivery platform. It's easy to get started.Let's get sending
Milgun-Icon