4 ms·
I really hate browser- or webapp-side email validation. I've rarely seen a web developer get this right. My advice is to treat email addresses like blobs and
by xenophonf 11y ago
I really hate browser- or webapp-side email validation. I've rarely seen a web developer get this right. My advice is to treat email addresses like blobs and attempt delivery with a confirmation link. That will catch users who typo their own address, and it will let people use whatever address format they want (the "+" in an email address not being considered valid is my own personal bugaboo).
- jgalt212 11y agoI dunno. I think people with edge case emails (i.e. those not easily validated with a simpleish regex) should be nudged towards getting more standardized emails. Our company won't accept weird emails for free trial sign ups. We should be nudging users towards good behavior. Of course, if your email address is provided at the corp level, then you don't have as many options. Non-standard emails can be used as tools for phishing is another reason why we should not validate them.