top | item 34330887

(no title)

hvdijk | 3 years ago

Except that the HTML spec explicitly states just before that regex that what it checks is not whether it's a valid e-mail address, and that it intentionally rejects valid e-mail address.

discuss

order

IIsi50MHz|3 years ago

Indeed.

<local portion>@<destination portion> is how I seem to remember "email address validation".

The '@' is the only reserved visible character.

The local portion is ONLY to be interpreted by the destination host.

Destination portion does not have to follow any pattern except to specify something (such as a path or resource name) findable by the mail server.

Of course, if you specify a destination only understood by your local email server as a destination in your LAN/WAN/whatever when talking to somebody/something outside that, they won't be able to reach you.

Addresses tend to look a lot more orderly than they used to, but I think this would be a "valid" address (within a given system):

12855977.233~foo+esr@bar!baz.crunchly!test%test#test\\splat\3