Official Documentation
import { Client } from "@nuro.dev/mailersend.ts";
const client = new Client("API_KEY");
const result = await client.listMessages({
// ...
});
import { listMessages } from "@nuro.dev/mailersend.ts";
const result = await listMessages("API_KEY", {
// ...
});
Official Documentation
import { Client } from "@nuro.dev/mailersend.ts";
const client = new Client("API_KEY");
const result = await client.messageById("MESSAGE_ID");
import { messageById } from "@nuro.dev/mailersend.ts";
const result = await messageById("API_KEY", "MESSAGE_ID");