Comment on Sorry, Humble. You lived long enough to see yourself become the villain.
mushroommunk@lemmy.today 6 hours agoOh what’s technically valid as an email is insane. I’ve looked into it before for work and went “nope” and just grabbed one of the standard “wrong” regexes everyone uses.
Tanoh@lemmy.world 3 hours ago
Yepp, the spec is super weird and too complex. Like @ is allowed if quouted in the local part.
Almost no one has a MX on TLD though so most just reject it, you can also argue that it is a good thing to check for. If someone writes “gmail”, they really just forgot the .com part so having the UI warn about it makes sense.
The best way to validate is to send an email to it.