Bug 171204 - JJ: Add filter action to set a tag to a message
Summary: JJ: Add filter action to set a tag to a message
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: 1.10.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 180917 203906 207451 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-17 12:10 UTC by sts
Modified: 2009-09-15 14:11 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sts 2008-09-17 12:10:48 UTC
Version:           1.10.1 (using 4.1.2 (KDE 4.1.1 (KDE 4.1 >= 20080828)) "release 52.1", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.16-0.1-default

I want to mark some people of a company with a message flag 'Company A', but how can I set up a filter to set this tag automatically?

Btw: I would expect to set this tag also in my addressbook. And if I tag a user in my addressbook, it should be automatically taged in my messages.. :)
Comment 1 Markus Krötzsch 2008-10-14 17:13:17 UTC
Indeed. After all the tag architecture is in place, it seems to be only a tiny extension to have tagging as a filter action. This would make tags incredibly more useful (KMail "prereading" your mail, tagging it based on keywords in its content -- just like a personal secretary :-).

The "btw" above appears to be quite different, and other wishes could be filed for easier creation of filters. But that is another topic.
Comment 2 Peter Lewis 2009-01-29 11:25:35 UTC
I agree, this would be really useful to me. Thanks for adding.
Comment 3 sts 2009-05-24 14:04:24 UTC
any change to implement this for 4.3 release?
Comment 4 sts 2009-05-24 14:05:15 UTC
..chance.. :)
Comment 5 Katrina Niolet 2009-05-27 02:52:01 UTC
What would be really really great is if this info could be pushed back to the server some how so that tagging on one computer gets picked up by the others
Comment 6 Thomas McGuire 2009-05-27 11:22:33 UTC
*** Bug 180917 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan Armond 2009-06-19 11:50:43 UTC
I've written a patch to allow adding a tag as a filter action. Will be in 4.4.
Comment 8 Jonathan Armond 2009-06-24 13:36:21 UTC
SVN commit 986208 by jarmond:

Implement an 'Add Tag' filter action.
Create a SetTag KMCommand for tag setting code.

FEATURE: 171204

 M  +60 -0     kmcommands.cpp  
 M  +20 -0     kmcommands.h  
 M  +96 -0     kmfilteraction.cpp  
 M  +6 -58     kmmainwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=986208
Comment 9 Thomas McGuire 2009-08-15 02:27:52 UTC
*** Bug 203906 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2009-09-15 14:11:14 UTC
*** Bug 207451 has been marked as a duplicate of this bug. ***