4 ms·
Knowing whether the email was sent is not always something you can do synchronously. A simple check for an "@" sign would go a long way to avoiding bounced mai
by aaronpk 14y ago
Knowing whether the email was sent is not always something you can do synchronously.
A simple check for an "@" sign would go a long way to avoiding bounced mail notifications from usernames being entered in email address fields.
- davidcelis 14y agoYes, agreed (and I mention this at the end of the article as well) and I still use the /@/ regex often. But a good UI on the registration form can go a long way in alleviating the "switching the email address and username fields" problem.
- spc476 14y agoOne addtional check---see if there's an MX or an A record on the portion after the "@".