Send lightning-fast transactional emails through Postmark API with Node.js
// Require:
var postmark = require("postmark");
// Send an email:
var client = new postmark.ServerClient("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