6 ms·
A better way is to check that the email the user entered matches a typical email format, and if the email doesn't match, then warn the user that he/she might've
by rtp 14y ago
A better way is to check that the email the user entered matches a typical email format, and if the email doesn't match, then warn the user that he/she might've entered the wrong email address (for example writing foobar@gmail, or foobar@gmail.com.).
- Wicher 14y agoI think foobar@gmail.com. should actually work. IIRC, that last dot is the root of the DNS hierarchy. Try http://news.ycombinator.com./ http://news.ycombinator.com./ ;-)