Adapters
MailPace
Configure the MailPace send API adapter.
MailPace
@opencoredev/email-sdk/mailpaceOfficialPayload-testedLive account required
import { createEmailClient } from "@opencoredev/email-sdk";
import { mailpace } from "@opencoredev/email-sdk/mailpace";
const email = createEmailClient({
adapters: [mailpace({ apiKey: process.env.MAILPACE_API_KEY! })],
});Options
| Option | Type | Required | Notes |
|---|---|---|---|
apiKey | string | Yes | MailPace server token. |
baseUrl | string | No | Defaults to https://app.mailpace.com/api/v1. |
fetch | typeof fetch | No | Useful for tests or custom runtimes. |
MailPace supports CC, BCC, and reply-to. Unsupported fields throw before the API call.
