3 ms·
> Just check for the existence of an @ symbol, at least. "At least"? That's pretty much all the client-side validation you can do. The next step is sending an
by mcv 13y ago
> Just check for the existence of an @ symbol, at least.
"At least"? That's pretty much all the client-side validation you can do. The next step is sending an email to it.
The specification of what kind of email address is valid or invalid is horrendously complex. I've seen too many sites reject perfectly valid email addresses. Don't do this. If it contains an @, try mailing to it. Let the user respond to that email somehow, and you've got the only reliable email validation and verification that's possible.