New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-mailforspam

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mailforspam

Mail for spam node module

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Mail for Spam Node.js module

Provide MailForSpam.com functionality for you Node.js powered applications.

If you want make applications which wants to retrieve emails with some verification codes or links or gets some external notifications from email you can use this module with random account.

Usage

Install:

npm i node-mailforspam

Usage:

const Mailforspam = require('.');

//Create module instance
let mail = new Mailforspam('TestAccount');

//Get emails list from first two pages
let emails = [...await mail.list(), ...await mail.list(2)];

//Get first email plain text
let email = await mail.read(emails[0].id, 'text');

//Change account
mail.changeAccount('MyTestAccount2');

Keywords

email

FAQs

Package last updated on 29 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts