📜  带有 nodejs 的邮戳 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:26.099000             🧑  作者: Mango

代码示例1
// 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": "sender@example.com",
  "To": "recipient@example.com",
  "Subject": "Test",
  "TextBody": "Hello from Postmark!"
});