Transports

Plunk

Send email through the Plunk HTTP API.

Send email through the Plunk HTTP API.

The one rule

Create this transport under the matching sently channel sender.

Configuration

OptionTypeDefault or requirement
apiKeystringrequired
import { createMailer } from "sently/mailer";
import { PlunkTransport } from "sently/transports/plunk";

const sender = createMailer({ transport: new PlunkTransport({ apiKey: process.env.PLUNK_API_KEY! }) });
await sender.send({ from: "hello@example.com", to: "person@example.com", subject: "Hello", text: "Hi" });

On this page