Outlook .msg file reader
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Mon May 3 09:46:45 EDT 2004
[snip: outlook .msg files]
>now I want a simple stand-alone reader, which I can burn on the cd as well
>so I can view the contents of it without requiring Outlook. If it can search
>the contents, that would even be better!
Linux 'file' command reports the .msg files as "Microsoft Office
Documents" (and truly the file starts with the D0 CF bytes); try using
some OLE2 structured file library to open the files, and search the
internal tree of streams; one of them quite possibly will be the message
in message/rfc822 (ie plain text) format (I see it with a hex editor);
you can manage it message with Python's email library.
I wouldn't bet that the attachments will be included in the
message/rfc822 format, though... I have no data, but this is just a
hunchl; I assume they will be stored as separate streams, but ICBW.
--
TZOTZIOY, I speak England very best,
Ils sont fous ces Redmontains! --Harddix
More information about the Python-list
mailing list