developer-mail-com-unofficial

Wrapper for developermail.com disposable email service

Usage no npm install needed!

<script type="module">
  import developerMailComUnofficial from 'https://cdn.skypack.dev/developer-mail-com-unofficial';
</script>

README

developer-mail-com-unofficial

Build Status

Unofficial wrapper for https://www.developermail.com disposable email service.

Developer Mail is quite nice disposable email service that does not require registration and does not have API calls limit.

Module usage

Mailbox class constuctor accepts name and token from Developer Mail. In case you did use it in past, you can use your credentials. If not, you can simply create new Mailbox, credentials will be assigned to class instance.

Usage example

const Mailbox = require('developer-mail-com-unofficial').Mailbox;

(async () => {

    let mail = new Mailbox()
    let credentials = await mail.createMailbox()
    console.log(credentials)

    // some actions where email received

    let messages = await mail.getAllMessages()
    console.log(messages)

    await mail.deleteMailbox()
})();

Important notice

Module is an unoficcial wrapper, it is explicity written in the package name. In case https://www.developermail.com will go down one day, module will stop working as well.