this post was submitted on 19 Jan 2026
404 points (99.3% liked)
Programmer Humor
28609 readers
1455 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The best email validation is just sending an email to whatever provided by the user. If user receives an email and validates it, than its validated.
Email validation for a form should at most look for
Sending an email can take a few minutes. Form validation is instant.
Which would still not be perfect because "foo@bar", "foo@[123.123.123.123]" and "💩 @[IPv6 :::1]" are all technically valid email addresses.
It looks like the only validation that doesn't block something valid pretty much would start and end at "It has at least one @ symbol, and something on both sides".
So I can't be directly
bezos@aws?Email address spec is convoluted and this is indeed the best way. Noobs and ninja do it this way, normies try to validate before sending email