The Javascript library and jQuery plugin that suggests a right domain when your users misspell it in an email address. Mailcheck will offer up suggestions for second and top level domains too. For instant use, download the minified library mailcheck.min.js into your javascripts directory. mailcheck.js is also available unminimised if you want to hack on it, or have your own minimizer. Mailcheck takes in two callbacks, suggested and empty. We recommend you supply both. Mailcheck does not want to get in the way of how you can show suggestions. Use the suggestion object to display suggestions in your preferred manner. empty is called when there's no suggestion. Mailcheck just passes in the target element. It is a good idea to use this callback to clear an existing suggestion. Mailcheck is decoupled from jQuery, so its usage without jQuery is almost identical.

Features

  • The Mailcheck jQuery plugin wraps Mailcheck
  • Mailcheck currently uses the sift3 string similarity algorithm by Siderite
  • You can modify the inbuilt string distance function, or pass in your own when calling Mailcheck
  • Since Mailcheck runs client side, keep in mind file size, memory usage and performance
  • Mailcheck is tested with Jasmine
  • Run npm test from the command line to run the test suite

Project Samples

Project Activity

See All Activity >

Categories

Email

License

MIT License

Follow mailcheck.js

mailcheck.js Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mailcheck.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Email Software

Registered

2021-07-20