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 '[email protected]' will result in a typo suggestion:
Did you mean [email protected]?
$("input#email-address").verimail({
messageElement: "p#status-message"
});
var email = "[email protected]";
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 + "?");
}
}
});
Add yourself to the list!
- AlphaMail (amail.io)
Then maybe you'll like our amazing Transactional Email service.
Try AlphaMail for free at: http://amail.io/