Disposable Email Reader
A simple wrapper for some disposable email APIs. At the moment it supports:
Installation
This module uses NPM and can be added to your project running this command
npm install disposable-email-reader --save
How to use it
This is an example of its usage:
//// Loading library.var reader = ;//// Creating a manager for a specific email.var myInbox = 'mytemporaryemail';//// Listing all emais.myInbox;
If you want to use something else instead of HarakiriMail, try one of these:
- MailDrop:
var myInbox = 'mytemporaryemail';
- Mailinator:
var myInbox = 'mytemporaryemail';
Paging
If you want to get only 5 emails, but starting from the third page, you can do something like this:
myInbox;
Note: These options may not be supported by certain services.
Licence
MIT © Alejandro Dario Simi