I am using apache's poi hsmf to process .msg outlook files.
When I try to retrieve date using MAPI's getdate function it throws a ChunkNotFound Exception, I do not know what is going wrong.
Here is the code snippet
MAPIMessage msg = new MAPIMessage("TestFolder/"+Filename);
String Result = msg.getSubject(); // works
Calendar CaObj = msg.getMessageDate(); ->Throws a ChunkNotFoundException here
Any Ideas?