This comment led me to RFC 5322 § 3.4.1 which reads:
An addr-spec is a specific Internet identifier that contains a locally
interpreted string followed by the at-sign character ("@", ASCII value
64) followed by an Internet domain.
The locally interpreted string is either a quoted-string or a dot-atom.
If the string can be represented as a dot-atom (that is, it contains no
characters other than atext characters or "." surrounded by atext
characters), then the dot-atom form SHOULD be used and the quoted-
string form SHOULD NOT be used. Comments and folding white space
SHOULD NOT be used around the "@" in the addr-spec.
And we can see what atext is here.
atext = ALPHA / DIGIT / ; Any character except controls,
"!" / "#" / ; SP, and specials.
"$" / "%" / ; Used for atoms
"&" / "'" /
"*" / "+" /
"-" / "/" /
"=" / "?" /
"^" / "_" /
"`" / "{" /
"|" / "}" /
"~"
Putting this all together, does that mean that the email address email@"happy@guy.com" is actually a valid address, since the quotes allow the usage of the @ symbol?
atext. So I wonder what kind of domain would require quotes as specified in 3.4.1? – Cory Klein Sep 26 '13 at 19:44@sign and domain. So maybe "email@email"@happyguy.com is a valid email address? – Cory Klein Sep 26 '13 at 19:45"H@ppy_guy"@domain.tldas mail address, or"Happy@guy..demo"@domain.tld. It would be legal but many websites would break on it. Most do not even accept other legal uses such asmy_name+spam_from_blah@domain.tld. I think they would also break on the other examples. – Hennes Sep 26 '13 at 20:04