Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Implement better insertion and removal of "[OpenStreetMap] " in mail subjects #4124

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: Kurt Krampmeier
[Submitted to the original trac issue database at 8.46am, Saturday, 3rd December 2011]

Currently when sending private messages through the website, the subjects of the generated mails are prefixed with "[OpenStreetMap] ". This is nice.

When anwering such a mail, the mail client will put a "Re: " in front of it. While forwarding the message, to the inbox on the website, the "[OpenStreetMap] " is stripped. Also nice.

The Problem begins with the mail that is being generated now for the receiver: The subject starts with "[OpenStreetMap] Re:" while "Re: [OpenStreetMap] " would be more appropriate, since this was the subject after the first reply via mail and is expected to be retained.

Still worse, when answering this message by mail, the subject becomes "Re: [OpenStreetMap] Re:" and the receiving person will get a subject starting with "Re: Re: " in the website's inbox and a mail subject starting with "[OpenStreetMap] Re: Re: ". Each reply via mail will now add another "Re: ".

Suggested enhancement: Insert "[OpenStreetMap] " after "Re: " if it exists at the beginning of subject to be sent via mail. Strip "[OpenStreetMap] " not only from the beginning of a subject in a received mail, but also after "Re :" at the beginning. Search for "Re: " should be case-insensitive due to broken mail clients using e. g. "RE: "

@openstreetmap-trac
Copy link
Author

Author: mmd
[Added to the original trac issue at 7.37am, Friday, 22nd May 2020]

"Re:" may also language dependent, which means that a simple solution like described here may not work for all users.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant