Microsoft Exchange and Python
grante at visi.com
Wed Aug 7 20:43:19 CEST 2002
In article <mailman.1028743309.8884.python-list at python.org>, Lindstrom Greg - glinds wrote:
> About an hour ago I was asked I could use Python to connect
> into our corporate Microsoft Exchange mail server to retrieve
> and process certain emails. Pulling out my copy of "Python
> Programming on Win32" (Hammond/Robinson), I quickly -- really
> quickly -- was able to logon and pull all of the subject lines
> out of my Inbox. My team leader had to pick his jaw up off the
> floor!! I have since written an object allowing him to access
> the server and list, choose, and process the specified
> messages. Very cool, indeed.
> My problem? I would like to know all of the methods available
> to me using the win32com.client Dispatch("Mapi.Exchange")
Hmm. I've been using Dispatch("Mapi.Session"). It works, but
an annoying dialog pops up warning that a program is accessing
e-mail addresses and I've got to click "OK" before my Python
program can fetch mail. Does using Mapi.Exchange avoid this?
> I have looked in the above book, as well as various on line
> help urls. Please excuse my ignorance...I am not that familiar
> with Windows APIs. Any help you can provide would be
If you do find a good reference for talking to Exchange, post a
pointer for the rest of us. I figured it the few methods I use
mostly by trial and error.
Grant Edwards grante Yow! What I want to find
at out is -- do parrots know
visi.com much about Astro-Turf?
More information about the Python-list