No description or website provided.
JavaScript
Latest commit af7d91f Jul 7, 2016 @nmanousos committed on GitHub Merge pull request #27 from gokultp/MultipleMailServers
multiple mail server
Failed to load latest commit information.
.gitignore
.npmignore
.travis.yml
README.md
index.js
package.json multiple mail server Jul 7, 2016
test.js multiple mail server Jul 7, 2016

README.md

email-existence

Checks existence of email addresses

Installation

To install via npm:

npm install email-existence

Requirements

A valid email address to check the existence of. Use node-validator to check validity.

Usage

  • Check existence:

        emailExistence.check('email@domain.com', function(error, response){
            console.log('res: '+res);
        });
    
  • The check function will return a boolean in response callback function to indicate existence of an email address. Existence is determined by telnetting to the MX server of the email domain and attempting to send an email to the supplied address. MX servers return 250 if the email address exists and 550 if it does not. This test email is not ever sent.