email_inquire
email_inquire copied to clipboard
Add custom domains to be checked for typos and hinted
Hi
First of all congrats for the lib, I love these UX bits!
It would be great if one could add custom domains to be set as reliable, so that the lib checked for typos against those domains, and hinted with the good one.
Something like adding this in an intializer:
EmailInquire.common_providers << "mydomain.com"
so that doing this:
mailInquire.validate("[email protected]")
would result in
status: :hint | replacement: ' [email protected]
What do you think about this?