Reading Outlook .msg file using Python

John Henry john106henry at
Sun Oct 17 07:39:42 CEST 2010

On Oct 12, 10:31 am, Tim Golden <m... at> wrote:
> On 12/10/2010 4:59 PM, John Henry wrote:
> > According to:
> >
> > I need to reset my Outlook registry keys.  Unfortunately, I don't have
> > my Office Install CD with me.  This would have to wait.
> Thanks for the information; I'm keen to see if you're able
> to use the solution I posted once this fix is in place.

Okay, after fixing the Outlook reg entries as described above, I am
able to go further.  Now, the code stops at:

message = mapi.OpenIMsgOnIStg (mapi_session, None, storage, None, 0,

with an error message:

pywintypes.com_error: (-2147221242, 'OLE error 0x80040106', None,

More information about the Python-list mailing list