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

mailsac-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailsac-wrapper

Node library for interacting with [Mailsac](https://mailsac.com/) mail platform - creates and checks temporary email mailboxes

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

mailsac-wrapper

Node library for interacting with Mailsac mail platform - creates and checks temporary email mailboxes

Quick example

var MailBox = require('mailsac-wrapper');

// create a temporary email mailbox
var mailbox = new Mailbox();

// get the address
mailbox.generateEmailAddress()
  .then(function(addr) {
    console.log('email addr: ', + addr);
  });

// get the first message from inbox matching a filter string as subject
mailbox.getInbox(emailAddress, filterText, t)
  .then(function(foundEmail) {
    console.log('foundEmail :', foundEmail);
  });

// get the body of a mail message (exclude attachments)
mailbox.getMessage(emailAddress, messageId)
  .then(function(fullMessage) {
    console.log('full message :', fullMessage);
  });

FAQs

Package last updated on 25 Feb 2019

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