🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

checkmail

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

checkmail

A Node library for communicating with the CheckMail REST API

1.0.0
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Sign up for a CheckMail account and visit our developer site for even more details.

Node.js Client Library

The official Node.js binding for your CheckMail service.

Prerequisites

Before using this library, you must have:

Installation

npm install checkmail

Quickstart

Verify an email address

var client = require('checkmail')('your_account_sid', 'your_auth_token');

client.verify.get('test@example.com').then(data => {

    console.log(data);

}).catch(err => {

    console.log(err);
});

That will output a JSON object that looks like this:

{
    accept_all: false,
    corrected: false,
    country_code: '',
    country_name: '',
    disposable: false,
    domain: 'example.com',
    email_request: 'test@example.com',
    email_result: 'test@example.com',
    free: false,
    localpart: 'test',
    reason: 'smtp_missing',
    result: 'risky',
    role: true,
    social_media: false
}

Documentation

Full API documentation is available from the CheckMail developer site.

Release History

  • 1.0.0 - Initial release

Keywords

checkmail

FAQs

Package last updated on 29 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts