2 Replies Latest reply on May 29, 2012 2:01 PM by NikDK

    email addresses

    NikDK Level 1

      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. Re: email addresses
          Kevin Cavallo Level 4

          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."

          • 2. Re: email addresses
            NikDK Level 1

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