poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54021] MSG file, Outlook 2010, POI library
Date Thu, 18 Oct 2012 07:45:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54021

--- Comment #4 from wernernaehle@gmail.com ---
Hi, 

I use the following code to get a embedded MSG file:

MAPIMessage msg = new MAPIMessage(INPUTFILE);
AttachmentChunks[] attachments = msg.getAttachmentFiles();

for(AttachmentChunks attachment : attachments) {

   DirectoryChunk chunkDirectory = attachment.attachmentDirectory;
   MAPIMessage attachmentMSG = chunkDirectory.getAsEmbededMessage();

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message