Skip to content
You're viewing documentation for v0.5.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Postmark

Configure the fetch-based Postmark adapter.

The Postmark adapter calls the Postmark Email API directly. It does not add a runtime dependency.

Postmark logo
Postmark@opencoredev/email-sdk/postmark
Provider docs

Before live sends

Create a Postmark server token for the server and message stream you want to send through. Make sure the sender signature or domain is approved in Postmark before using a production from address.

Send

Options

Option Type Required Notes
serverToken string Yes Postmark server token.
baseUrl string No Defaults to https://api.postmarkapp.com.
messageStream string No Postmark message stream.
fetch typeof fetch No Useful for tests or custom runtimes.
headers Record<string, string> No Extra request headers.

Response

The adapter maps Postmark MessageID to id and messageId.

CLI smoke test

Last updated on