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

Mailtrap

Configure the Mailtrap Email Sending API adapter.

Mailtrap logo
Mailtrap@opencoredev/email-sdk/mailtrap
Provider docs

Options

Option Type Required Notes
apiKey string Yes Mailtrap API token.
baseUrl string No Defaults to https://send.api.mailtrap.io.
fetch typeof fetch No Useful for tests or custom runtimes.

See field support for supported message fields.

Mailtrap maps replyTo to reply_to, metadata to custom_variables, and the first returned message_ids value to the SDK response ID.

Last updated on