Bug 92866 - Filters scripting language support
Summary: Filters scripting language support
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: 1.6.1
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 19:28 UTC by Alvaro Segura
Modified: 2011-08-31 07:42 UTC (History)
1 user (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 Alvaro Segura 2004-11-07 19:28:07 UTC
Version:           1.6.1 (using KDE KDE 3.2.1KDE 1.2)
Installed from:    Mandrake RPMsMandrake RPMs
OS:                Linux

Instead of creating filters through comboboxes in a GUI, it would be very powerful to have a "Filter stript editor". It coud use the existing JS engine and expose special objects and methods in it for filter development. Something like:

if(mail.sender.contains("osama")
	mail.trash();
if(mail.sender.isInAddressBooxFolder("friends"))
	mail.moveTo("Friends");
if(mail.subject.contains("[KDE]") && !mail.hasAttachments())
	mail.sendTo("KDE Development");
Comment 1 Till Adam 2005-06-04 22:50:18 UTC
Ideally Sieve, yes. That's being worked on.
Comment 2 Laurent Montel 2011-08-31 07:42:13 UTC
Sieve support implemented long time ago.
Will close it.