[imapfilter-devel] List in field def

Philippe LeCavalier support at plecavalier.com
Mon Jan 17 17:00:14 EET 2011


Hi.

How can I list multiple fields in the same argument?

results = acc2['Sent']:contain_field('to,from,cc', 'email_address') 
results:copy_messages(acc1['Customers/acc2/help/Sent'])

The 'to,from,cc' doesn't work for grabbing the relevant mail. If I state
a rule for each field it works fine. I take it my angle for shortening
this rule isn't appropriate but there must be a way.

Thanks,
Phil



More information about the Imapfilter-devel mailing list