Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

email addresses

Avatar

Former Community Member

Hello,

I am curious to know whether or not email addresses are case sensitive. I know for most accounts like hotmail or gmail they are not, however I'm wondering if there is an exception to this rule. I have a form with an email address field and it currently only allows for lower case letters, but I'm wondering if it should be changed to include both upper and lower.

Any thoughts on this would be greatly appreciated.

1 Accepted Solution

Avatar

Correct answer by
Level 6

Short answer: yes.  Long answer:  The part after the '@' (the domain name) is *not* case sensitive.  However, the user's mailbox (the part before the '@') is, by the definition of the specification, case sensitive.  While most ISPs do not enforce the case sensitivity, to be perfectly compatible you should allow both upper and lower case for the mailbox name. 

This is what RFC 2821, the standard that defines how email transport works, says about it:

"The local-part of a mailbox MUST BE treated as case sensitive. Therefore, SMTP implementations MUST take care to preserve the case of mailbox local-parts. Mailbox domains are not case sensitive. In particular, for some hosts the user "smith" is different from the user "Smith". However, exploiting the case sensitivity of mailbox local-parts impedes interoperability and is discouraged."

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

Short answer: yes.  Long answer:  The part after the '@' (the domain name) is *not* case sensitive.  However, the user's mailbox (the part before the '@') is, by the definition of the specification, case sensitive.  While most ISPs do not enforce the case sensitivity, to be perfectly compatible you should allow both upper and lower case for the mailbox name. 

This is what RFC 2821, the standard that defines how email transport works, says about it:

"The local-part of a mailbox MUST BE treated as case sensitive. Therefore, SMTP implementations MUST take care to preserve the case of mailbox local-parts. Mailbox domains are not case sensitive. In particular, for some hosts the user "smith" is different from the user "Smith". However, exploiting the case sensitivity of mailbox local-parts impedes interoperability and is discouraged."

Avatar

Former Community Member

Thank you very much for your help. I tried finding the information on the internet however I wasnt finding a straight answer.