Re: [Evolution] Script to search mails

Am Samstag, den 14.08.2010, 16:32 +0200 schrieb Chris Blake:
Greetings community,

I have a specific folder in my Inbox which I need to search for emails
and manipulate the results.

I need to do this on the command line, something like :

SELEECT * from the Inbox/Folder_To_Search
WHERE Subject CONTAINS 'keyphrase'
AND date received is less than 01 August 2010

I want to have the full subject line of that email piped into a text
file so I can manipulate it with other bash commands.

Can someone help me, or point me to a tutorial on how I can script with
the Evolution folders, if possible.

So far Google search has given me no results I can work with, still

Thanks for your replies...

Take a look at procmail, It contains a program
called formail to manipulate emails in mbox format. That's how evolution
stores local mail.
Also, you could define a filter. As action you could choose to call a
program or pipe the mail through a program.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]