mail
mail copied to clipboard
Case-sensitive handling of subject reply prefix
What Happened
Mail has case-sensitive detection of the "Re: " prefix in a message subject. Some mail clients, Microsoft Outlook's desktop client definitely being one of them append a capital "RE: ". If you reply to one of these messages with Mail, you can end up with an undesirable "Re: RE:" chain on the front of the subject. This can grow to silly lengths if both clients are case-sensitive when they try and detect the prefix.
Expected Behavior
The "Re: " prefix is detected regardless of case.
Additional Notes
While Mail does not currently support prepending a "Fwd:" prefix, some mail clients handle this different again. For example, Microsoft Outlook prepends "FW:"
Platform Information
elementary OS 6.0 Beta
I'm unsure if we should prevent adding several Fw prefixes because you're most likely never ping-ponging with forwards and it's actually an indicator to know how many times the document got forwarded before arriving (for mail chains… hi there grandma :wave: )
Mhm, that's a valid point. Maybe we can simply prefix the subject with Fwd: whenever a message gets forwarded and skip the check. After all, I encounter it very rarely anyways. What do you think @davidmhewitt ?
Since we don't currently handle forward prefixes, let's keep this issue focused on the Re: RE: problem.
I added Re: and Fwd: handling to https://github.com/elementary/mail/pull/603 - so .... how to proceed there? :)