3 ms·
Hmmm...right you are. Thanks. I guess I never thought to look that up. Likely due to the common way being so pervasive. > The local-part of a mailbox MUST
by stronglikedan 11y ago
Hmmm...right you are. Thanks.
I guess I never thought to look that up. Likely due to the common way being so pervasive.
> The local-part of a mailbox
MUST BE treated as case sensitive. [0]
[0] https://www.ietf.org/rfc/rfc2821.txt https://www.ietf.org/rfc/rfc2821.txt
- MildlySerious 11y agoAs for handling this in the real world, the approach I like best is to store email addresses the way they are entered, but create an index on the lowercase version for lookup and uniqueness checks.
- soft_dev_person 11y agoA lot of people don't really know their own email address, then. When based on their name, they might write both with capitalization and without depending on mood... We lower-case all e-mails in our systems. I'll let you know when we hit a system that actually treats it case-sensitive.