3 ms·
I know, it's a great deal more than a regex, and that's actually my point. It's dedicating tons of extra resources and time to a process that is ultimately red
by Zikes 13y ago
I know, it's a great deal more than a regex, and that's actually my point. It's dedicating tons of extra resources and time to a process that is ultimately redundant.
You can't truly validate someone's email address because you don't know what their email address actually is. Your only two options are:
1. Be omniscient
2. Send a validation email
- tjbiddle 13y agoIt stops people from doing something like fake@lolthisisstupid.com at least though.
- papercrane 13y agoI wish more places would validate their email. In the past two days I've been informed that I know have a Playstation, EA, and Blizzard account because someone signed up with my email address (just without the dots.) Only Blizzard tried to confirm the email address. The other two created the account, and now won't let me disown the accounts. I can go through the forgot password process and turn them off, but I'm not sure how kosher that is.
- janekk 13y agoHave you ever crafted a sign-up form for a paid app though? Requiring users go and check their email before they can proceed is going to kill conversions. Mail providers (I use mandrill) also deliberately throttle outgoing email - I've seen them delayed by several minutes.
- joevandyk 13y agoIf someone's buying something from my site, I'm not going to send them a validation email during the checkout process. Something like this greatly reduces the number customer support emails saying "I didn't get an order confirmation email from you!" when they typed in joe@yahoo.cm.
- jfb 13y agoBut no validation in the world will catch that. Only a round-trip email would. EDIT: I was wrong. Interesting.
- adw 13y ago... not with 100% accuracy, but it's totally plausible that you can do substantially better than random (or a simple regex). So there is incremental value here.
- chaz 13y agoThat's the point: Mailgun's Validation API does catch that joe@yahoo.cm is incorrect and suggests a correction. Try it: http://mailgun.github.io/validator-demo/ http://mailgun.github.io/validator-demo/
- janekk 13y agoI see that as the only valuable part of this service, and I can instead use it statically via mailcheck JavaScript: https://github.com/Kicksend/mailcheck https://github.com/Kicksend/mailcheck
- IlPeach 13y agothanks for the link. this is actually true considering the email validation embedded in HTML5.
- callahad 13y ago> 2. Send a validation email The big three providers all have OpenID or OAuth endpoints that return email addresses, so you also have the option of asking the domain directly. (You can outsource that whole thing, too... * coughs something about Mozilla Persona *)