1.0.4 • Published 2 years ago

osecmail v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago