postmark node js code example
Example: postmark with nodejs
// Install and Require postmark library => npm install postmark:
var postmark = require("postmark");
// Send an email:
var client = new postmark.Client("POSTMARK-SERVER-API-TOKEN-HERE");
client.sendEmail({
"From": "[email protected]",
"To": "[email protected]",
"Subject": "Test",
"TextBody": "Hello from Postmark!"
});