Skip to content

KushalP/mailcheck-clj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailcheck

Build Status

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".

Usage

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"}

License

Copyright © 2013 Kushal Pisavadia

Distributed under the Eclipse Public License, the same as Clojure.

Credits

Mailcheck.js: the original idea

About

A port of Kicksend's mailcheck.js library to Clojure

Resources

Stars

Watchers

Forks

Packages

No packages published