1.0.4 • Published 4 months ago

osecmail v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Usage

import osecmail from "osecmail";

Type Definitions

type MailboxMessage = {
  id: number;
  from: string;
  subject: string;
  date: string;
};

type Attachment = {
  filename: string;
  contentType: string;
  size: number;
};

type Message = MailboxMessage & {
  attachments: Attachment[];
  body: string;
  textBody: string;
  htmlBody: string;
};

function generateRandomMailboxes(count: number): Promise<string[]>;

function getActiveDomainLists(): Promise<string[]>;

function getMessages(login: string, domain: string): Promise<MailboxMessage[]>;

function getMessage(
  login: string,
  domain: string,
  id: number
): Promise<Message>;
1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago