Transports

Brevo

Send email through the Brevo HTTP API.

Send email through the Brevo 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 { BrevoTransport } from "sently/transports/brevo";

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

On this page