Reading Outlook .msg file using Python

John Henry john106henry at hotmail.com
Mon Oct 18 13:25:22 EDT 2010


On Oct 18, 4:09 am, Tim Golden <m... at timgolden.me.uk> wrote:
> 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

In case you didn't receive my message sent via "reply to author",
please sent wrapper to e c s 1 7 4 9 (at) gmail (dot) com.

Thanks,



More information about the Python-list mailing list