On Mon, Mar 7, 2011 at 5:22 AM, Ramprasad Prasad <ramprasad...@gmail.com> wrote:
> 1) Create a hash of aliases for frequently used domains and their typos
> For eg
>  gmaill.com => gmail.com
>  hotmal.com =>  hotmail.com
> etc
>
> when I get the email id  with these typos , I will prompt the user for
> correction  , If accepted then thats fine

It's difficult to predict every possible typo that a user is going to
make. They could have their hands off-by-one and type something
completely different. Perhaps you could instead just store a list of
common mail domains and warn the user to double-check if their E-mail
address doesn't match any of them.

-- 
Brandon McCaig <http://www.bamccaig.com/> <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to