2 ms·
By my reading of RFC 822, commas are technically valid, as long as they are properly quoted, as in: "Doe, John"@example.com Of course, whether any email server
by ken 14y ago
By my reading of RFC 822, commas are technically valid, as long as they are properly quoted, as in: "Doe, John"@example.com
Of course, whether any email server actually accepts that is a different story.
- eli 14y agoAt the risk of sounding like a hyprocrite since I just advocated for minimal validation of emails... that is a nonissue. Nobody actually does that. Anyway, the regexp I use is /.+@.+\..+/ which supports the address you describe, but (usually) catches the relatively common mistake of user@yahoo,com