node-mailercheck

2.2.0 • Public • Published

node-mailercheck

Mailercheck Unofficial Node.js Library

Based on another unofficial Library: https://github.com/devjavi/mailercheck

Table of Contents

Installation

Setup

npm install node-mailercheck

Usage

Check a single email and get real-time response

// import { default as MailerCheck } from 'node-mailercheck';
const MailerCheck = require('node-mailercheck');
const client = new MailerCheck({ api_key: "api_key" });

async function test() {
  const singleCheck = await client.checkEmail({ email: "test@mailercheck.com" });

  const { id } = await client.createList({ emails: ["first@foo.com", "second@foo.com"] });

  const { status } = await client.verifyList({ id });

  const { emails, has_more_pages } = await client.getListResults({ id });

  console.log('Has more pages?', has_more_pages);
  console.log(emails);

Single check response

{ 
  message: 'valid', 
  status: 200 
}

Support and Feedback

In case you find any bugs, submit an issue directly here in GitHub.

If you have any troubles using our API or SDK free to contact our support here: https://www.mailercheck.com/support

The official documentation is at https://developers.mailercheck.com/

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.0
    7
    • latest

Version History

Package Sidebar

Install

npm i node-mailercheck

Weekly Downloads

7

Version

2.2.0

License

ISC

Unpacked Size

5.83 kB

Total Files

5

Last publish

Collaborators

  • hookdump