4 ms·
Prediction: it will fail on many email addresses that are out there in the wild and in daily use. The problem with 99% cases is that if you handle enough accoun
by jacquesm 7y ago
Prediction: it will fail on many email addresses that are out there in the wild and in daily use. The problem with 99% cases is that if you handle enough accounts that 1% becomes a serious tech support issue. In the end; the best test whether an email address is valid or not is if the mail arrives with the intended recipient. So what you do if an email address does not pass verification is prompt the user to that effect but do not force them to do anything at all.
- mathisonturing 7y agoIs that a prediction for the simple @ validation that was suggested? If so, I'm curious about possible cases
- jacquesm 7y agoGPs comment was edited extensively since I replied.
- t0mbstone 7y agoExactly. The absolute best test for whether or not an email address is valid or not is if the mail arrives to the intended recipient. And if you are going to do that email validation step anyways, you could probably get away with just using the simple highly permissible "smoke test" regex for your email address input form validation.