0.1.5 • Published 7 years ago

temporary-mail v0.1.5

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

7 years ago

0.1.4

7 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago