Socket
Socket
Sign inDemoInstall

zb-email-verifier

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zb-email-verifier

Promise-based library for verify an email address existence via SMTP


Version published
Weekly downloads
135
increased by43.62%
Maintainers
1
Weekly downloads
 
Created
Source

zb-email-verifier

Install

npm install zb-email-verifier --save

Usage

import { verify } from "zb-email-verifier"

const result = await verify({
	helo: "yourdomain.com",
	from: "youremail@example.org",
	to: "check@example.org",
	catchalltest: true,	// default false
	timeout: 1500		// default 5000
})

// INVALID - email regexp validation failed
// EXIST - email is exist
// NOT_EXIST - email does not exist
// CATCH_ALL - catch all smtp server

// MXRECORD_FAIL - resolve mx record fail
// MXRECORD_TIMEOUT - resolve mx record timeout
// CONN_FAIL - connect fail smtp
// CONN_TIMEOUT - connect timeout smtp
// VERIFY_FAIL
// VERIFY_TIMEOUT
// UNKNOWN
// UNKNOWN_TIMEOUT

Keywords

FAQs

Package last updated on 17 Dec 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc