4 ms·
I feel like people really overthink email validation. I just look for an "@" and a ".". If you really need proof that an email address is valid, send an activat
by bkanber 13y ago
I feel like people really overthink email validation. I just look for an "@" and a ".". If you really need proof that an email address is valid, send an activation email. Otherwise, who cares if a few emails in your database are invalid?
Additionally, lots of 3rd party mail systems have some mechanism to notify you of bounced emails, so you'll figure out which are invalid at your first attempt anyway.
- louischatriot 13y agoDefinitely, spending time validating email is useless. Look for an @ to make sure the user didn't mistake the email field for the name field and send him a confirmation email if you really want to be sure.
- davefp 13y agoI'd even drop the '.' requirement. Look for an @, then send a confirmation email. Done.
- Sephr 13y agoRequiring a dot breaks your form for people using bare TLD email or people using an IPv6 address instead of a domain.
- cytzol 13y agoThere's a sufficient mass of people with dots in their e-mail addresses that it's worth checking for an at and a dot, even if you don't require it - just to check that they haven't typed a comma or something instead.