API Wrappers

Official API Clients

You can view all of the Mandrill API clients on Bitbucket or check out the language-specific repositories below. You can also view sample API requests and test each endpoint right in your browser using our official API docs.

Mandrill has official API clients/wrappers for the following languages:

Ruby

http://rubygems.org/gems/mandrill-api

Python

http://pypi.python.org/pypi/mandrill/

NodeJS

https://npmjs.org/package/mandrill-api

PHP

http://packagist.org/packages/mandrill/mandrill

JavaScript

https://bitbucket.org/mailchimp/mandrill-api-js

Third-Party API Wrappers

Here's a list of known Mandrill API wrappers created by third parties. Contact each wrapper's developer for detailed information:

Ruby

https://github.com/tatemae-consultancy/mandrill

https://github.com/evendis/mandrill-rails (Rails)

Python/Django

https://github.com/michaelhelmick/python-mailsnake

https://github.com/brack3t/Djrill

https://github.com/jpadilla/mandrill-inbound-python

PHP

https://github.com/kai5263499/mandrill-php

https://github.com/darrenscerri/Mindrill

https://github.com/MichMich/laravel-mandrill (Laravel)

https://github.com/eoko/zf-mandrill (Zend)

https://packagist.org/packages/accord/mandrill-swiftmailer-bundle (Symfony)

.NET

http://mandrillapiwrapper.codeplex.com (C#)

http://mcapinet.codeplex.com (C#, VB)

https://github.com/shawnmclean/Mandrill-dotnet

https://github.com/feinoujc/Mandrill.net

Java

https://github.com/cribbstechnologies/Java-Mandrill-Wrapper

https://github.com/rschreijer/lutung

NodeJS

https://github.com/jimrubenstein/node-mandrill

https://github.com/rschmukler/powerdrill

 

Note

You'll need to add SPF and DKIM records and verify ownership of your sending domains before you can send email through your account. Mandrill will not send any email from unverified domains or domains without valid SPF and DKIM records, including public domains like gmail.com, yahoo.com, and more.

A message that is rejected with the reject reason unsigned indicates that the sending domain hasn't been properly set up, and that your account is unable to send and authenticate email from that domain.

Learn more about SPF and DKIM and domain verification, or manage sending domains in your Mandrill account.