How to access a property in Outlook using win32com?

Jonas Bengtsson jonas.b at home.se
Wed Nov 20 21:30:14 EST 2002


Hi,
By using win32com.client I am able to access my mails (as MailItem objects) 
in Outlook using Python. The common stuff like Subject, Body, To etc is 
easy to access. But I have no idea how to access the property 
PR_TRANSPORT_MESSAGE_HEADERS. I found it by using OutlookSpy [1].

Can anyone tell me how to access that property?

Thanks in advance,
Jonas

[1] http://www.dimastr.com/outspy/default.htm



More information about the Python-list mailing list