On Mon, Mar 7, 2011 at 5:22 AM, Ramprasad Prasad <[email protected]> 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/> <[email protected]> V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl. Castopulence Software <http://www.castopulence.org/> <[email protected]> -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
