The perfect email provider for your side project

Easy setup, affordable monthly pricing, and a suite of time-saving features make Postmark the ideal email provider for your side project.

Bootstrapping your side project? Get $75 to help with your email costs →
API

Start sending in minutes

Use our SMTP service for a super fast setup, or integrate with our API to take your transactional email to the next level.


// Send an email with the Postmark-PHP library
// Learn more -> https://postmarkapp.com/developer/integration/official-libraries#php

// Install with composer
composer require wildbit/postmark-php

// Import
use Postmark\PostmarkClient;

// Example request
$client = new PostmarkClient("server token");

$sendResult = $client->sendEmail(
  "sender@example.com",
  "receiver@example.com",
  "Hello from Postmark!",
  "This is just a friendly 'hello' from your friends at Postmark."
);

# Send an email with the Postmark Ruby Gem
# Learn more -> https://postmarkapp.com/developer/integration/official-libraries#ruby-gem

# Install with Bundler
gem 'postmark'

# Create an instance of Postmark::ApiClient
client = Postmark::ApiClient.new('POSTMARK_API_TEST')

# Example request
client.deliver(
  from: 'sender@example.com',
  to: 'receiver@example.com',
  subject: 'Hello from Postmark',
  html_body: '<strong>Hello</strong> dear Postmark user.',
  track_opens: true
)

# Send an email with the Postmark Rails Gem
# Learn more -> https://postmarkapp.com/developer/integration/official-libraries#rails-gem

# Add this to your gemfile
gem 'postmark-rails'

# Add this to your config/application.rb file:
config.action_mailer.delivery_method = :postmark
config.action_mailer.postmark_settings = { :api_token => "POSTMARK_API_TEST" }

# Send the email
class TestMailer < ActionMailer::Base
  def message
    mail(
      :subject => 'Hello from Postmark',
      :to  => 'receiver@example.com',
      :from => 'sender@example.com',
      :html_body => '<strong>Hello</strong> dear Postmark user.',
      :track_opens => 'true'
    )
  end
end

// Send an email with the Postmark .NET library
// Learn more -> https://postmarkapp.com/developer/integration/official-libraries#dot-net

// Install with NuGet
PM> Install-Package Postmark

// Import
using PostmarkDotNet;

// Example request
PostmarkMessage message = new PostmarkMessage {
    From = "sender@example.com",
    To = "receiver@example.com",
    Subject = "Hello from Postmark",
    HtmlBody = "<strong>Hello</strong> dear Postmark user.",
    TextBody = "Hello dear postmark user.",
    ReplyTo = "reply@example.com",
    TrackOpens = true,
    Headers = new NameValueCollection {{ "CUSTOM-HEADER", "value" }}
};

PostmarkClient client = new PostmarkClient("POSTMARK_API_TEST");

PostmarkResponse response = client.SendMessage(message);

if(response.Status != PostmarkStatus.Success) {
    Console.WriteLine("Response was: " + response.Message);
}

// Send an email with the Postmark.js library
// Learn more -> https://postmarkapp.com/developer/integration/official-libraries#node-js

// Install with npm
npm install postmark --save

// Require
var postmark = require("postmark");

// Example request
var client = new postmark.Client("server token");

client.sendEmail({
    "From": "sender@example.com",
    "To": "receiver@example.com",
    "Subject": "Test",
    "TextBody": "Hello from Postmark!"
});

# Send an email with curl
# Copy and paste this into terminal

curl "https://api.postmarkapp.com/email" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-Postmark-Server-Token: POSTMARK_API_TEST" \
  -d "{From: 'sender@example.com', To: 'receiver@example.com', Subject: 'Hello from Postmark', HtmlBody: '<strong>Hello</strong> dear Postmark user.'}"

Official API libraries for all your favorite languages and frameworks.

Templates Icon

All your email templates in one place

Postmark’s templates API makes it easy to create and manage all the emails your application needs to send. Get started with our collection of easily customizable open source templates, or code your own.

Pre-built templates page screenshot
Start from a variety of pre-built templates or build your own.
Template editor screenshot
Edit and tweak your templates directly in Postmark.
Template preview screenshot
Preview your templates with easily updatable test data.
Activity Icon

45 days of email history as standard

Get full visibility into your sending with 45 days of email history, including open and click tracking to measure how users engage with your emails.

Activity screenshot showing filter tools
Search, filter, and view 45 days of detailed message activity from the activity feed.
Message events screenshot
Detailed message event logs for every email.
Message HTML and plain text preview screenshot
Full HTML and plain text content for every message you send.
Stack of emails with Postmark ribbon

Simple monthly plans from $10

Working on multiple projects? Use Postmark servers to run them all under a single account.

Emails per month Price per month Price/1,000 extra emails
10,000 $10 $1.25
50,000 $50 $1.00
125,000 $100 $0.85
300,000 $200 $0.60
700,000 $400 $0.45
Need a bigger plan?
Email or call us at 1-855-286-7373 to learn about our high-volume plans.

What’s the best plan for you?

Tell us how many emails your application sends and receives each month and we’ll find the best plan for you.

Three stacks of envelopes
$75 Bootstrapper Credit

As a bootstrapped company, we have a soft spot for fellow bootstrappers.

If you’ve launched your product, are charging for it, and haven’t taken outside investment, contact our support team and we’ll give you $75 account credit to help with your email costs.

  • Ashley Harpp Ashley
  • Dana Chaby Dana
  • Marek Loder Marek
  • Patrick Graham Patrick
  • Shelley Jeżewska Shelley

Email is complicated. We’re here to help.

Our customer success team are always on hand to help you get set up, investigate bounce reports, or answer any other questions you have.

96
Customer Happiness Rating
  • 😃 Great (98%)
  • 🙂 Okay (1%)
  • 😔 Not Good (1%)

Customer feedback gathered through Help Scout over the past 60 days.

Ready to get started?

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