0.1.5 • Published 6 years ago

temporary-mail v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

:boom: Careful: This package is no longer maintained and is only here for historic reasons. This means you should very likely not use it. You have been warned. :boom:


temporary-mail

Temporary mailboxes for end-to-end testing, QA testing and crawling

Install

npm install temporary-mail

Usage

import TemporaryMail from 'temporary-mail'

const mail = new TemporaryMail()

// Get an new mail address
const address = await mail.getAddress()
console.log(`address`, address)

// Read all emails
const mails = await mail.getMails()
console.log(`mails`, mails)

// Wait till a specific email arrives
const testMail = await mail.pollTillSubject(/test/i)
console.log(`testMail`, testMail)

Licence

MIT

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago