Home

Awesome

email-exists

Check whether an email address exists.

This module checks whether an email address exists by connecting to the mail server and pretending to send an email (but not actually sending it, of course).

For checking whether an email is syntactically valid, please use hapijs/isemail.

Installation

npm install email-exists

Quickstart

const emailExists = require('email-exists')

emailExists({ sender: 'darthvader@gmail.com',
              recipient: 'lukeskywalker@gmail.com' })
    .then(console.log)
    // --> MAY_EXIST

API

emailExists(options)

Maintainers

License

MIT