Lies we tell ourselves about email addresses
- Programming
- Infrastructure
- Security
- Developer Tools
The post is a tour of common programmer assumptions about email addresses that stop being true the moment you leave the happy path. It covers things like quoted local parts, non-ASCII addresses, IP literals, plus aliases, long or unusual TLDs, and the gap between what the RFCs allow and what real products accept. The practical advice is simple: do as little syntactic filtering as possible, then verify by sending mail instead of trying to prove correctness up front.
If your product collects email addresses, verify ownership instead of hard-rejecting unusual but valid formats, and audit every downstream system that touches them. Also treat email as unreliable infrastructure for login and recovery, not an instant, universal transport you can safely build UX around.
- gitpush--force.com
- Discuss on HN