@sendmux/sending
v1.0.0
Published
Generated TypeScript client for the Sendmux Sending API.
Downloads
445
Readme
@sendmux/sending
Generated TypeScript client for the Sendmux Sending API.
Install:
npm install @sendmux/sendingExample:
import {
createSendingClient,
sendingSendEmail,
} from "@sendmux/sending";
const client = createSendingClient({
apiKey: process.env.SENDMUX_API_KEY!,
});
await sendingSendEmail({
client,
body: {
from: "[email protected]",
to: ["[email protected]"],
subject: "Hello from Sendmux",
html: "<p>Hello.</p>",
},
});Use an smx_root_* API key.
