Skip navigation
Currently Being Moderated

email addresses

May 29, 2012 7:24 AM

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.

 
Replies
  • Currently Being Moderated
    May 29, 2012 11:00 AM   in reply to NikDK

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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points