Reading Outlook .msg file using Python
Tim Golden
mail at timgolden.me.uk
Mon Oct 18 07:09:21 EDT 2010
On 17/10/2010 20:25, John Henry wrote:
> Not knowing anything about MAPI, I tried a number of the MAPI flags,
> the only one that works appears to be PR_SUBJECT.
> PR_CLIENT_SUBMIT_TIME, PR_CREATION_TIME and so forth doesn't work.
I'll try to fish out some of the code we use, but for most
of the fields, having got the body, I simply used the email
module to parse it. (Obviously that doesn't give you anything
which isn't included in the MIME version of the email).
I have a lightweight wrapper that does some of the MAPI
spadework. If you're interested, let me know and I can
send it across or post it somewhere.
TJG
More information about the Python-list
mailing list