Postmark: Application Email Service with Exceptional Delivery - https://postmarkapp.com/ allows you to send your emails with high delivery rates. It also includes detailed statistics. In addition, Postmark can parse incoming emails which are forwarded back to your application.
The Postmark Rails Gem is a drop-in plug-in for ActionMailer to send emails via [Postmark - https://postmarkapp.com/)(https://postmarkapp.com/). The gem has been created for fast implementation and fully supports all of Postmark’s features - https://postmarkapp.com/why.
You will need a Postmark account - https://account.postmarkapp.com/login, server and sender signature (or verified domain) set up to use it. For details about setup, check out wiki pages - https://github.com/wildbit/postmark-rails/wiki/Getting-Started.
You can install it as a gem:
gem install postmark-rails
or add it into a Gemfile (Bundler):
Save your Postmark Server API Token to
rails secret, then run
rails credentials:edit and add:
Set Postmark as your preferred mail delivery method via
config.action_mailer.delivery_method = :postmark
After setting it all up, you can send emails like this:
class TestMailer < ActionMailer::Base
See Home · wildbit/postmark-gem Wiki - https://github.com/wildbit/postmark-gem/wiki to learn more usages.