FW:Reading new mail from outlook express using Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SPJ

    FW:Reading new mail from outlook express using Python

    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.

  • Grant Edwards

    #2
    Re: FW:Reading new mail from outlook express using Python

    On 2008-03-24, SPJ <mail2spj@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

    Comment

    Working...