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


(Paul Apostolos) #1

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?


Why are category names case sensitive?
(Dave McClure) #2

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?source_topic_id=16859

(Michael Downey) #3

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.


(Jeff Atwood) #4

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


(Sam Saffron) #5

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


(Neil Lalonde) #6

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