@epiccarlito/emailchecker
v1.1.5
Published
A simple way to check if an email exists
Downloads
23
Maintainers
Readme
EmailChecker
A simple way to check if an email exists! You can also check the domain of the email with the second parameter. Warning: Port 25 must be allowed! (Or email checks return false)
Installation
npm i @epiccarlito/emailchecker
TypeScript
import { checkEmail } from "@epiccarlito/emailchecker";
JavaScript
const { checkEmail } = require("@epiccarlito/emailchecker");
Example Code
async function main() {
let result = await checkEmail("[email protected]", "gmail.com");
return result;
}
main(); // Returns false
Original Concept
Inspired by email-existence. Both packages check the codes of the MX server to identify if an email address accepts emails and exists.