Ramprasad sent me this message in private by accident. sending to the list.
===> Shlomi Fish ---------- Forwarded Message ---------- Subject: Re: Auto correction of typos Date: Saturday 05 Mar 2011, 13:25:48 From: Ramprasad Prasad <ramprasad...@gmail.com> To: Shlomi Fish <shlo...@iglu.org.il> On Sat, Mar 5, 2011 at 2:09 PM, Shlomi Fish <shlo...@iglu.org.il> wrote: > Hi Ramprasad, > > On Saturday 05 Mar 2011 08:53:49 Ramprasad Prasad wrote: > > I have a web form where people sign up for updates by filling in their > > email address > > > > A lot of users end up not receiving the confirmation mailer because of > > typos in the email id > > Like yhaoo.com or hotmaill.com > > > > I would like to prompt the user for a possible typo , like the google > "Did > > you mean this ? " > > What is the best module I can use for suggestion > > Well, you can try doing a DNS lookup but naturally, it's possible some > people > have registered an MX address for "yhaoo.com" or "hotmaill.com", due to > phishing or as a parody, or because of a different reason. If you want to > find > out if an email address exists in the remote host, I think you'll need to > initiate an SMTP connection. > > I dont want to send mails to a domain like say yaahoo.com even if it had a valid MX. Because may be a parked or spamtrap domain What I wanted to do was create a list of possible typos by people on the large mail domains like yahoo , hotmail etc > Note that I suggest you allow the user to login again and to later on > change > the password. Moreover, many modern browsers, will auto-fill a field based > on > the name="...." attribute so you should set it to name="email". > > Regards, > > Shlomi Fish > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > Stop Using MSIE - http://www.shlomifish.org/no-ie/ > > Nobody expects the Randal Schwartz condition! > -- David Fetter > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > -- Thanks Ram <http://www.netcore.co.in/> n <http://pragatee.com> ----------------------------------------- -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ My Public Domain Photos - http://www.flickr.com/photos/shlomif/ "I simply hate, detest, loathe, despise, and abhor redundancy." -- http://uncyclopedia.org/wiki/Redundancy Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/