0.4.2 • Published 9 years ago

emailvalidation v0.4.2

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
9 years ago

Email Validation

An email validation module using the emailvalidator.co API. This does more than just check syntax, this module actually validates whether the mailbox is active.

Emailvalidator.co has 4-levels of verification:

  • Level 1: The API checks for syntax issues and whether the domain belongs to any disposable email domain such as yopmail, mailinator, etc.

  • Level 2: The API checks for all the above plus if the domain name is valid, and whether the domain has hosted email servers to accept emails.

  • Level 3: The API checks whether the mailbox actually exists along with the above.

  • Level 4: The API checks whether the email server has a catch-all account.

You can signup for an account at emailvalidator.co

Installation

npm install emailvalidation --save

Usage

var Validator = require('emailvalidation');
var validator = new Validator('your-api-key');

validator.validate(email, verificationlevel, function(err, response)) {
  console.log(response.IsValid); //Returns true or false
});
0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

10 years ago

0.3.9

10 years ago

0.3.8

10 years ago

0.3.7

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.9

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.4

10 years ago