Socket
Socket
Sign inDemoInstall

checkmail

Package Overview
Dependencies
47
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    checkmail

A Node library for communicating with the CheckMail REST API


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 29 Dec 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc