How to fetch the conversation id from a .msg file using MAPIMessage

I'm trying to parse a .msg file. How do I get the conversation id?
I'm using org.apache.poi.hsmf.MAPIMessage

Upvotes: 0

Views: 425

Answers (2)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66276

It is stored in the 0x0F030102 property - you can see if it is set in a particular MSG file in OutlookSpy (I am its author - click OpenIMsgOnIStg button).

Upvotes: 1

Eugene Astafiev
Eugene Astafiev

Reputation: 49435

The structure of the MSG file format is described in the MSDN library, see [MS-OXMSG]: Outlook Item (.msg) File Format.

Upvotes: 1

Related Questions