Socket
Socket
Sign inDemoInstall

zb-email-verifier

Package Overview
Dependencies
13
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

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
91
increased by24.66%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 29 Aug 2023

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