get information from MS Outlook using Python

Kevin Altis altis at semi-retired.com
Wed Jan 16 23:46:07 CET 2002


There is some Outlook import code in the addresses sample that comes with
PythonCard.
  http://pythoncard.sourceforge.net/

If you just want to look at the Outlook code, here's a link to the file in
cvs (sorry about the long URL):

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pythoncard/PythonCardPrototyp
e/samples/addresses/outlook.py?rev=HEAD&content-type=text/vnd.viewcvs-markup

The code was designed for importing the contacts from a local Outlook folder
into the dictionary used by addresses. I don't know whether it works with an
Exchange server or what you would need to tweek. The basic approach should
be the same, but you'll probably need to use a different folder id, etc.

I recommend the "Outlook 200 VBA Programmer's Reference" by Dwayne Gifford
and published by Wrox as a good book if you want to do much Outlook
programming. You should also look at:

http://www.slipstick.com/
and
http://msdn.microsoft.com/library/default.asp?URL=/library/officedev/odeopg/
deconunderstandingofficeobjectsobjectmodels.htm

Good luck,

ka
---
Kevin Altis
altis at semi-retired.com

"Mark Ainsworth" <marka at sundance.com> wrote in message
news:3C4595B3.60700 at sundance.com...
> Does anyone have any experience at getting information out of  MS
> Outlook using Python. For example, we use an Outlook folder to store
> emails relating to customer support issues. I would like to be able to
> access this folder, search the emails for certain topics and then use
> this to produce statistical data.
>
> Any pointers to the documentation I should be reading would be a great
help.
>
> Rgds
>
> Mark Ainsworth
> Quality Manager
> Sundance Multiprocessor Technology Ltd.
>





More information about the Python-list mailing list