Bug 55576 - message subject line editing
Summary: message subject line editing
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
Keywords: junior-jobs
: 118467 200008 (view as bug list)
Depends on:
Reported: 2003-03-05 21:29 UTC by Jon Gabrielson
Modified: 2011-12-01 11:26 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:

Shell script to be used in a filter to change the messages's subject (987 bytes, text/plain)
2005-02-11 21:03 UTC, Helder Guerreiro

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Gabrielson 2003-03-05 21:29:00 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Mandrake RPMs

Sometimes a message's subject line is blank, terse, or otherwise useless.
It would be nice to be able to easily edit the subject line (and possibly other fields) by right clicking on the message.

This is a duplicate of  Bug 26158, but Bug 26158 has been closed
because it is a duplicate and the original bug doesn't seem to exist
anymore, so I am reopening it because I also think this is an important
Comment 1 Helder Guerreiro 2004-12-21 03:50:03 UTC
I think this is a very important feature to have. However I think the original subject line should be preserved (somehow) and an additional tag should be created to accomodate the new subject (or the other way arround).
Comment 2 José Pereira Lopes 2005-01-18 18:34:50 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 José Pereira Lopes 2005-01-18 18:37:56 UTC
This should be usefull to arrange ones emails. We can really save as attachment with the proper subject and them move it somewhere, but change directly would be much easier. The amount of emails with poor subject titles is something of another world.
Comment 4 Petre Kronn 2005-01-27 01:34:25 UTC
This seems to be a good idea. The main use of it, I think, is to help organize your emails.
To keep both subjects, the new and the original, seems complicated but if possible we could had a sort option by the original subject or by the changed ones.
Sometimes people ask you questions about a certain email, refering to it by their subject. If we lose that information we can have some pratical problems.
Comment 5 Helder Guerreiro 2005-01-27 02:00:00 UTC
I suppose it is only a matter of adding a tag to the mail header containing the  old subject. Right now we have something like:

Subject: Good day!

We could add a tag, and change the subject:

X-Old-Subject: Good day!
Subject: Meeting request by user abc

To get this working quickly the existing code would not be changed (we can check the original subject by looking at the mail headers). In the future some sort of gui could be made to show the old subject to the user.
Comment 6 Helder Guerreiro 2005-02-11 21:03:57 UTC
Created attachment 9569 [details]
Shell script to be used in a filter to change the messages's subject

Just noticed that it is possible to rewrite the subject using a filter. This
gave me the idea to change the "Subject line" using a small shell script. 

I did it and it works very well. My only concern is that the user input is not
checked so it might cause some weird behavior, it would be good if someone that
is acquainted with the relevant RFCs gave some pointers...

Using this procedure is possible to change every aspect of the message, kmail
really rocks!!!
Comment 7 Philip Rodrigues 2006-11-09 18:42:09 UTC
*** Bug 118467 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-07-13 22:20:45 UTC
*** Bug 200008 has been marked as a duplicate of this bug. ***
Comment 9 Björn Ruberg 2009-12-16 00:58:18 UTC
Well, needs some finding into the code - but why not making this a junior job?
Comment 10 Anne-Marie Mahfouf 2011-12-01 11:26:11 UTC
Reassigning to kmail2, please add a comment on the exact wish against KMail2 and maybe assign as JJ