Node.js + Postmark

Send lightning fast transactional email through Postmark with Node.js

5 Minute Set Up

1

Install the Postmark.js library using npm

npm install postmark --save
2

Create an instance of the Postmark client and send your first email.

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

// Send an email:
var client = new postmark.Client("POSTMARK-SERVER-API-TOKEN-HERE");

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

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

3

Once you’ve sent your first email, check out the Postmark.js docs →

You're in good company

Understanding what types of emails are bouncing, being marked as spam, or being blocked by an ISP makes it easy to know when an email was sent and what happened to it. On top of all the tracking info, in almost four years with Postmark, I can’t remember a single time an outage impacted our business.

Joel Flory

Joel Flory

CEO at VSCO

We‘ve grown from sending 0 to 200,000 transactional emails daily, and Postmark helped us a lot with scaling that process.

Bartosz Olchówka

Bartosz Olchówka

Head of Development at LiveChat

“Our experience with the Postmark team has been fantastic. Our emails are sent on time and deliverability is high. We know we can rely on Postmark.”

Claire Schlafly

Claire Schlafly

VP of Operations at Yapmo

“Postmark really impressed us with their focus on transactional emails, instead of just broadcasting.”

Cliff Chang

Cliff Chang

Product Engineer at Asana

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 Node application.

  • Envelope flying into postbox.

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

  • Placeholder

    45 days worth of full content history to help you troubleshoot.

  • Placeholder

    Easy-to-use, responsive email templates for sending welcome emails, password resets, and more.

  • Placeholder

    Keep track of bounced emails through the web dashboard, or use web hooks to notify your app of any issues.

  • Placeholder

    A robust developer API to tightly integrate your app with Postmark.

  • Placeholder

    Take the pain out of handling inbound email. Postmark turns inbound email into a handy JSON object and posts it to a web hook URL.

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 take Postmark for a spin?

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