Posting via e-mail in feature - E-mail address is case sensitive

AI-generated summary

The discussion revolves around the case sensitivity of email addresses in the incoming email feature for posting topics. paully21 notes that users often use mixed-case email addresses (e.g., TomSmith@email.com), which can cause issues because the system currently requires an exact match. mcwumbly points out that case sensitivity has caused problems in other areas, referencing related discussions. downey asks if the validation can be made case-insensitive. codinghorror confirms that @neil will address the issue. sam adds that a database-level fix is also desired. neil confirms that email case sensitivity has been removed, resolving the issue.

We have turned on the feature to allow our users to start a new topic using the incoming e-mail feature.

I notice that many of our users set up their e-mail clients to have upper and lower case letters in their e-mail addresses.

For example, TomSmith@email.com

Because their Discourse profile has the e-mail address as tomsmith@email.com the e-mail is rejected because it does not match the list of valid user e-mail addresses.

Is it possible to have the validation for incoming topics by e-mail be a case-insensitive match of existing e-mail addresses?

2 Likes

There are some other places where email case sensitivity has caused issues.

See also:

https://meta.discourse.org/t/only-lower-case-emails-allowed-in-validation-form/2808

I would consider this a bug, as the effect is that people aren’t able to post via e-mail when they otherwise should be able to do so.

Yes, @neil will remove case sensitivity in emails before V1.0

2 Likes

@neil we also want to fix this at the db level. Make email unique, always downcase emails you store.

Email case sensitivity is removed! It solves this problem with reply-by-email and creating topics by email, among others.

6 Likes