FW:Reading new mail from outlook express using Python

S

SPJ

My previous post was not clear, hence resending this.

-------------------------
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 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.

Thanks,
SPJ



____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
 
G

Grant Edwards

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top