DevHeads.net

username specification for email system

Hello,

Is there the username specification for email system?
It seems most special characters like ".", "-", "+", "_", "#", "$" are
permitted in the username part.
And even <a href="mailto: ... at domain dot com"> ... at domain dot com</a> is right (like my sender account).
So I was confused.

Thanks.

Comments

Re: username specification for email system

By Bastian Blank at 09/05/2019 - 03:53

On Thu, Sep 05, 2019 at 03:45:47PM +0800, Wesley Peng wrote:
It is called "local-part". And yes, RFC 5321 and 5322 have a pretty
comprehensive spec for it.

The following is a valid e-mail address for example:
"<script>alert('Ohhai')</script>"@43-1.org

Regards,
Bastian

Re: username specification for email system

By Patrick Proniewski at 09/05/2019 - 03:53

On 2019-09-05 09:45, Wesley Peng wrote:
Have you tryied the RFC that defines email addresses? (even the space in
allowed: <my ... at example dot com> or "my name"@example.com)

patpro