Processing typos in emails or registering users

I have a web application in which visitors subscribe and receive the newsletter via the email that they registered.

I use only one email field in the registration form, as I want to reduce the number of fields, and I believe that most people (like me) copy and paste the email, which means that the typo will spread to the secondary verification field.

My problem is that a fair percentage of subscribers have a typo in their email address, for example. @yhaoo, @hotmaill etc.

How can I deal with such typos effectively?

I thought of a simple automatic correction using a spelling error list for common domains, but I can not prepare a complete list for this.

+3
source share
4 answers

You must first do a DNS lookup first to find out if a valid MX record exists for this domain (which assumes a domain exists) - if not, you should not accept this letter.

Secondly, find the http redirect from the domain to another domain. For instance. yayoo.com and yahooo.com are both redirected to yahoo.com, so you can display the warning message "Did you mean ... @ yahoo.com?" or even automatically correct whitelisted addresses that you’ve verified can be corrected.

, MX , , , , , hitfarms ( ), . gmial.com. - ( , " ..." .

0

, DNS, , MX . , , , . , .

, . , , , .

+5

, . , , -. Mailgun API .

0

, javascript http://getmailcheck.org, , :

Javascript jQuery, , .

"user@gmil.con", Mailcheck "User@gmail.com".

Mailcheck . , "user@hotmail.cmo", "hotmail.com" .

, , .

It is assumed that it is used by Dropbox, Lyft, Kickstarter, Kan Academy, etc.

0
source

Source: https://habr.com/ru/post/1751916/


All Articles