A Clojure translation of the Kicksend mailcheck javascript library which suggests a right domain when your users misspell it in an email address.
When your user types in "user@hotnail.com", Mailcheck will suggest "user@hotmail.com".
Add the following to your list of dependencies:
[mailcheck "0.1.1"]
Then you can use it in a REPL as follows:
(use 'mailcheck.core)
(suggest "user@hotnail.com")
=> {:address "user", :domain "hotmail.com", :full "user@hotmail.com"}
Copyright © 2013 Kushal Pisavadia
Distributed under the Eclipse Public License, the same as Clojure.
Mailcheck.js: the original idea