Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Latest commit

 

History

History

messages

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Messages

List Messages

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", {
  // ...
});

Message by ID

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");