Skip to content

EpicCarlito/EmailChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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("exampleemail@gmail.com", "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.