Rails + Postmark = ❤️

Find out why hundreds of Rails projects trust Postmark to deliver their email

5 Minute Set Up

1

Add the Postmark Rails Gem to your Gemfile

gem 'postmark-rails'
2

Add this to your config/application.rb file:

config.action_mailer.delivery_method = :postmark
config.action_mailer.postmark_settings = { :api_token => "POSTMARK-SERVER-API-TOKEN-HERE" }

Want to test our APIs and activity logging? Send emails to test@blackhole.postmarkapp.com

3

Send an email

class TestMailer < ActionMailer::Base
  def message
    mail(
      :subject => 'Hello from Postmark',
      :to  => 'recipient@example.com',
      :from => 'sender@example.com',
      :html_body => 'HTML body goes here',
      :track_opens => 'true')
  end
end
4

Once you’ve sent your first email, check out the Rails API client docs →

Here’s what our customers have said

We were using one of your competitors because they featured a freemium plan. However we were getting complaints on a weekly basis that emails weren’t reaching clients. […] Other than an edge case here or there, since switching to Postmark, our support tickets regarding email delivery have plummeted to zero. That alone makes Postmark worth its weight in gold.

Kyle Racki

Kyle Racki

CEO at Proposify

Easy to set up. Great API. Rapid mail delivery and no spam issues. We moved from Mandrill because of terrible deliverability and am pleased to say it’s been well worthwhile....we’ve even saved money. Thanks Postmark Team….you rock!!

Ben Jemison

General Manager at CircleLoop

I don't plug products much, but good god damn @postmarkapp has made us very, very happy. An order of magnitude better than running our own mail.

Nate

Nate

via Twitter

We've architected our sending infrastructure to rely heavily on Postmark, and we couldn't be happier. They've been supportive at every step along the way, and have helped us to deliver (and report on) tremendous results for our clients.

Matt Goldman

Matt Goldman

CEO at Churn Buster

From side projects to Fortune 500...

We’ve got you covered. We process transactional email for companies of all sizes:

Everything you need for first class email delivery

A comprehensive suite of tools to help you seamlessly integrate email with your Rails application.

  • Placeholder

    Full transparency on email delivery. It’s right on our status page.

  • Envelope flying into postbox.

    Industry-leading delivery speeds. Up to 4x faster than other providers.

  • Placeholder

    We’re focused on building the best reputation in the industry for transactional email.

  • Placeholder

    Knowledgeable and responsive support.

  • One credit equals one email.

    Simple and transparent pricing means you only pay for what you use.

  • Placeholder

    Send your transactional email over SMTP or through the Postmark API.

Lightning fast delivery

Your customers expect emails to arrive immediately—not eventually. We constantly
monitor our delivery speeds and share the data publicly.

  • Gmail

  • Apple

  • Hotmail

  • AOL

  • Yahoo

Time to Inbox data updated every 5 minutes

Ready to try Postmark?

Join thousands of developers that already trust their email delivery to Postmark.

Try Postmark Free No Credit Card Required
Any questions? Call Marek at 1-855-286-7373