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

Mailchimp Transactional

Send through Mailchimp Transactional (Mandrill) with typed recipients, tags, and metadata — but no replyTo field.

The Mailchimp adapter calls the Mailchimp Transactional API — the API formerly known as Mandrill — over fetch, no extra dependency. Unusually, the API key travels in the request body rather than a header, and recipients are a single typed list (to/cc/bcc entries) instead of separate arrays.

Mailchimp Transactional logo
Mailchimp Transactional@opencoredev/email-sdk/mailchimp
Provider docs

Configure

Create a Transactional API key in the Mandrill dashboard (Settings → SMTP & API Info) and verify your sending domain.

PropType
apiKeystring

Mailchimp Transactional (Mandrill) API key, sent in the request body.

Typestring
baseUrl?string

Override the API origin, e.g. for a proxy.

Typestring
Default"https://mandrillapp.com/api/1.0"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

Mailchimp maps cc, bcc, headers, attachments, tags (values only), and metadata.

Mandrill responds with one result per recipient; the normalized id and messageId come from the first result’s _id. Each result also carries a per-recipient status (sent, queued, rejected) — check result.raw during smoke tests if a send succeeds but mail does not arrive.

Verify from the CLI

Drop --dry-run for one real send — that is the only check that proves the key, domain verification, and recipient policy are ready.

Last updated on