node-mailreader
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

node-mailreader

Easy-to-use npm package for reading and filtering mails.

Only supports mails ending with outlook.com right now.

  npm install node-mailreader
import { readMail, searchBetweenStrings } from "node-mailreader";

// You can list mails with one line of code
var mails = await readMail("username@outlook.com", "password", {FROM: "facebook"});

// You can also use a socksProxy
var mails = await readMail(
  "username@outlook.com",
  "password",
  { FROM: "george" }, 
  { socksProxy: { host: "127.0.0.1", port: 5002, type: 5 }});

// readMail(username, password, searchOptions, connectionOptions)

Readme

Keywords

Package Sidebar

Install

npm i node-mailreader

Weekly Downloads

95

Version

0.0.4

License

ISC

Unpacked Size

18.8 kB

Total Files

26

Last publish

Collaborators

  • ozanbaskan