SkillAgentSearch skills...

Verimail.js

Javascript e-mail validation and verification! Prevent emails that bounce due to typos, invalid domain, aso. Has jQuery support!

Install / Use

/learn @amail/Verimail.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Verimail.js

Simply a kit for validating/verifying e-mails through javascript. Can prevent many common typos.

Current support:

* Syntax validation (according to RFC 822)
* IANA TLD validation
* Spelling suggestion for the most common TLDs and email domains
* Deny temporary email account domains such as mailinator.com

E.g. validating 'cool@fabeook.cmo' will result in a typo suggestion:

Did you mean cool@facebook.com?

jQuery Example (verimail.jquery.js)

$("input#email-address").verimail({
	messageElement: "p#status-message"
});

Example (verimail.js)

var email = "cool@fabeook.cmo";
var verimail = new Comfirm.AlphaMail.Verimail();

verimail.verify(email, function(status, message, suggestion){
	if(status < 0){
		// Incorrect syntax!
		if(suggestion){
			// But we might have a solution to this!
			console.log("Did you mean " + suggestion + "?");
		}
	}else{
		// Syntax looks great!
		if(suggestion){
			// But we're guessing that you misspelled something
			console.log("Did you mean " + suggestion + "?");
		}
	}
});

Who is using it?

Add yourself to the list!

  • AlphaMail (amail.io)

Like it?

Then maybe you'll like our amazing Transactional Email service.

Try AlphaMail for free at: http://amail.io/

View on GitHub
GitHub Stars262
CategoryCustomer
Updated2mo ago
Forks59

Languages

JavaScript

Security Score

95/100

Audited on Jan 19, 2026

No findings