By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,957 Members | 2,017 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,957 IT Pros & Developers. It's quick & easy.

FW:Reading new mail from outlook express using Python

P: n/a
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
Mar 24 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 2008-03-24, SPJ <ma******@yahoo.comwrote:
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
Mar 24 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.