Discussion:
[imapfilter-devel] Result; two processes?
Joachim Tingvold
2011-03-15 01:42:12 UTC
Permalink
Hi,

Is there an easy way to use two processes on the same result? The line
below doesn't seem to do the trick;

results = workmail.INBOX:is_new()
results = workmail.INBOX:is_recent()
results:match_from("some at email.com"):move_messages(workmail
['somefolder']):mark_seen()

I was kinda hoping to avoid 'double lines';

results:match_from("some at email.com"):mark_seen()
results:match_from("some at email.com"):move_messages(workmail
['somefolder'])

Any suggestions?
--
Joachim
Loading...