Re: Reading new mail from outlook using Python

2008-03-25 Thread Tim Golden
SPJ wrote: > Thanks... > > I could access the folders in outlook express using the COM interface. > Now I am stuck with how to read to a file only new mails. Well, this Google query: http://www.google.co.uk/search?hl=en&q=OUTLOOK.application+unread+messages seems to indicate some useful hits.

Re: Reading new mail from outlook using Python

2008-03-25 Thread SPJ
IL PROTECTED]> > Subject: Re: Reading new mail from outlook using Python > To: [EMAIL PROTECTED] > Cc: python-list@python.org > Date: Tuesday, March 25, 2008, 2:58 AM > Well on a FreeBSD/Unix system you can use the .forward to > pipe the > incoming mail for a user to a pr

Re: Reading new mail from outlook using Python

2008-03-24 Thread Pete Stapley
Well on a FreeBSD/Unix system you can use the .forward to pipe the incoming mail for a user to a program. Below is the contents of my .forward that invokes procmail. "|/usr/local/bin/procmail -m /path/to/conf/.procmailrc" So I imagine you could do something like this in a .forward. "|/path/myp

Reading new mail from outlook using Python

2008-03-24 Thread SPJ
Hi,I am trying to create new tickets in the ticketing system using python. When I receive new email from a particular address, I have to trigger the python script and parse the mail  in required format. The  main hurdle here is,  how to invoke the script on arrival of new mail? I checked the outloo