MultiMail: easily switch between email APIs

Dependency Status Code Climate

Many providers – including Cloudmailin, Mailgun, Mandrill, Postmark and SendGrid – offer APIs to send, receive, parse and forward email. MultiMail lets you easily switch between these APIs.

Usage

```ruby require ‘multi_mail’

service = MultiMail::Receiver.new({ :provider => ‘mailgun’, :mailgun_api_key => ‘key-xxxxxxxxxxxxxxxxxxxxxxx-x-xxxxxx’, })

message = service.process data # raw POST data or params hash ```

message is an array of Mail::Message instances.

Supported APIs

Incoming email:

Attachment parsing on incoming email is not implemented yet. No outgoing email services are implemented yet.

Bugs? Questions?

This gem’s main repository is on GitHub: http://github.com/opennorth/multi_mail, where your contributions, forks, bug reports, feature requests, and feedback are greatly welcomed.

This gem re-uses code from fog, released under the MIT license.

Copyright (c) 2012 Open North Inc., released under the MIT license