3 ms·
No. Absolutely beginner level blog post. You would use a third party tool like http://www.datavalidation.com/ http://www.datavalidation.com/ or mailgun's emai
by tgarma1234 10y ago
No. Absolutely beginner level blog post. You would use a third party tool like http://www.datavalidation.com/ http://www.datavalidation.com/ or mailgun's email validation service or BriteVerify etc etc. There are a ton of validation services now. We are living in a time when trillions of email addresses have been tried, entered and deployed to. So why reinvent the wheel on your website? 3rd party services are based not only on parsing the string but also on literally billions of emails actually deployed through various ESP's to tell you up front whether the email address entered by a user is correct. I could use a trashmail email address and it would validate by the OP's standards. First validate using a third party service and then send the double opt-in email to get a user click.
- idlewords 10y agoPassing on user-submitted emails to a third-party service without their explicit consent is a huge privacy leak.
- jasonkostempski 10y ago/s? I seriously can't tell.
- pg_is_a_butt 10y agothe idiots here eat up these moronic services. see https://news.ycombinator.com/item?id=6109905 https://news.ycombinator.com/item?id=6109905
- kinkdr 10y agoMy philosophy is exactly the opposite. Allow anything as email address and make it as simple as possible for the user to sign up to use my application. This means, no email validation, no address verification emails, heck, I don't even have a password confirmation field. One field for name, one for email and one for password and you are in. If 10% of the users don't trust me with their real, or even throwaway email address, so be it. My goal is not to collect email addresses, but to have users use my application and add some value to their life. If another 10% of them enter a mistyped email, they will figure it out eventually and change it if they care.
- Karunamon 10y agoeh, password confirmation at least has a valid reason to exist - kinda sucks when someone's first hit on your site is having to go through a recovery, and if they didn't provide an email address, they're screwed.
- fdgdasfadsf 10y agoThat is a terrible thing to do with regard protecting your users' personal data!