Email address encoded within an email address. Is it possible?

76 Views Asked by At

I am looking into some edge cases of email address formatting, and also how such cases are handled by email servers.

In particular, according to RFC5322 (section 3.4.1), an address like this is valid:

"[email protected]"@domain.com

Notice the double quotes surrounding the local part.

If such an address is valid, can it be handled by email servers?

If not by default, does anyone know if any open source email servers can be configured to handle such cases?

Thanks!

1

There are 1 best solutions below

1
DanRedux On

Seeing as emails were originally a user account (and still sort of are) on a Web Server, they are valid. Usernames can have quotes.

It's handled perfectly fine by my web host, but most free email services don't allow quotes for this exact reason.