4 ms·
Even that is wrong because you can have privately owned TLDs (I forget what they're technically called) like .google So sundar.pichai@google is technically a v
by laumars 7y ago
Even that is wrong because you can have privately owned TLDs (I forget what they're technically called) like .google
So sundar.pichai@google is technically a valid address (whether .google has any MX records is another matter)
Regex shouldn't really be used for email addresses anyway because the only reliable way to authenticate an email address is to literally send an email to that address.
- donalhunt 7y ago.google does not have any MX records
- laumars 7y agoNo, but theoretically it could.
- bduerst 7y agoAFAIK none of the TLDs allow for MX records on just the TLD i.e. johndoe@com will never exist
- bradbeattie 7y agoWhat about things like root@localhost?
- laumars 7y agoI'm not on about gTLDs like .com, I'm on about the privately owned ones like .amazon and .google