Email VerifierInstallation

Installation

Installation

npm install @visulima/email-verifier

Import

The top-level orchestrator runs every check and aggregates one report:

import { verifyEmail } from "@visulima/email-verifier";

Every individual check and enrichment is also exported on its own subpath, so a bundle only includes what it imports:

import { validateSyntax } from "@visulima/email-verifier/checks/syntax";
import { checkMxRecords } from "@visulima/email-verifier/checks/mx";
import { verifySmtp } from "@visulima/email-verifier/checks/smtp";
import { isRoleAccount, isNoReply } from "@visulima/email-verifier/checks/role";
import { enrichProvider } from "@visulima/email-verifier/enrich/provider";
import { suggestEmailTypo } from "@visulima/email-verifier/enrich/typo";
import { parseName } from "@visulima/email-verifier/enrich/name";
import { scoreReport } from "@visulima/email-verifier/score";

Network caveat

SMTP verification connects to the recipient's mail server on port 25. Many networks block outbound 25 and many servers tarpit or refuse verification probes, so treat a deferred / unknown result as inconclusive rather than undeliverable. Pass { offline: true } to skip all network checks and produce a syntax + heuristic-only report.

Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues