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

Resend

Configure the fetch-based Resend adapter.

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

Resend logo
ResendLive check available@opencoredev/email-sdk/resend
Provider docs

Before live sends

Create a Resend API key and verify the sender domain or sender address you plan to use in from. A dry run can validate the Email SDK message shape, but only a live send from your target environment proves the Resend account, sender, and recipient policy are ready.

Send

Options

Option Type Required Notes
apiKey string Yes Resend API key.
baseUrl string No Defaults to https://api.resend.com.
fetch typeof fetch No Useful for tests or custom runtimes.
headers Record<string, string> No Extra request headers.

Response

The adapter returns the Resend id as id and messageId.

CLI smoke test

Last updated on