https://github.com/izeau/verify-email
Verify that an email address actually exist using SMTP.
https://github.com/izeau/verify-email
Last synced: 10 months ago
JSON representation
Verify that an email address actually exist using SMTP.
- Host: GitHub
- URL: https://github.com/izeau/verify-email
- Owner: izeau
- Created: 2016-09-08T10:29:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-08T10:30:32.000Z (almost 10 years ago)
- Last Synced: 2025-07-30T22:30:06.186Z (11 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# verify-email
Verify that an email address actually exist using SMTP.
## Purpose
An email address like `foo@example.com` is valid but doesn’t actually exist. This tool is used to check against the SMTP server if an address is not only valid, but also exists. It doesn’t use any external dependency.
## Usage
```
npm i -g verify-email
verify-email foo@example.com
```
The exit code will be `0` if the email exists, and `1` if an error happens.
## TODO
* Unit tests
* Fast invalid email detection using custom rules for major email providers (Gmail, Yahoo, etc.)
* Library