mail_plugger

MailPlugger helps you to use one or more mail providers. You can send emails via SMTP and API as well.


Keywords
api, aws-ses-api, delivery, deliverymethod, email, mailer, mailgun-api, mailing, mandrill-api, postmark-api, rails, ruby, ruby-on-rails, ruby-script, sendgrid-api, smtp, sparkpost-api
License
MIT
Install
gem install mail_plugger -v 1.7.6

Documentation

MilPlugger

Gem Version MIT license Ruby Style Guide MailPlugger CI Maintainability Test Coverage

MailPlugger helps you to use one or more mail providers. You can send emails via SMTP and API as well.

Also, it can help:

  • move between mail providers
  • load balancing
  • cost management

Installation

Add this line to your application's Gemfile:

gem 'mail_plugger'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install mail_plugger

Usage

FkePlugger

FakePlugger is a delivery method to mock MailPlugger. It is working similarly like MailPlugger, but it won't send any emails (but if we would like it is possible, just we should do manually). Also, it can write out debug information, or we can manipulate the response with it. Another option that we can use MailGrabber web interface if the delivery method is :fake_plugger.

Usage

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

To release a new version:

  • Update CHANGELOG.md
  • Update the version number in version.rb manually or use gem-release gem and run gem bump -v major|minor|patch|rc|beta.
  • Build gem with bundle exec rake build.
  • Run bundle install and bundle exec appraisal install to update gemfiles and commit the changes.
  • Run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome. Please read CONTRIBUTING.md if you would like to contribute to this project.

Inspiration

License

The gem is available as open source under the terms of the MIT License.