On 2008-03-24, SPJ <[EMAIL PROTECTED]> wrote: > 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 outlook settings and found that it > supports only microsoft VB script and Jscript. Is there any > other way? I mean, if I make a daemon, how will it be notified > of new mail? Is there any python module that does this? > > I am not sure if this is the right place to ask this, since it > is also a microsoft related question. But any help is > appreciated.
You can use Outlook's COM interface from Python. That allows you to read messages from a mailbox. I don't know of any way to get "notified", but you can use the COM interface to poll the mailbox(es) periodically. -- Grant -- http://mail.python.org/mailman/listinfo/python-list