Transports

Amazon SES

Send email through the AWS SES v2 API.

Send email through the AWS SES v2 API.

The one rule

Create this transport under the matching sently channel sender.

Configuration

OptionTypeDefault or requirement
accessKeyIdstringrequired
secretAccessKeystringrequired
regionstringus-east-1
sessionTokenstringoptional
dkimDKIMConfigoptional
import { createMailer } from "sently/mailer";
import { SESTransport } from "sently/transports/ses";

const sender = createMailer({ transport: new SESTransport({ accessKeyId: "...", secretAccessKey: "..." }) });
await sender.send({ from: "hello@example.com", to: "person@example.com", subject: "Hello", text: "Hi" });

On this page