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