poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lucaro <sachint...@gmail.com>
Subject Re: Read .msg file inside other .msg file
Date Tue, 10 Jul 2012 11:26:19 GMT
> POIFSFileSystem newDoc = new POIFSFileSystem();
> EntryUtils.copyNodes(attachment.attachmentDirectory.getDirectory(),
> newDoc.getRoot());
> File fileToWrite = new File("C:/CR0040POC/detachedMail/" +
> attachMsg.getConversationTopic()+".msg");
> OutputStream outStream = new FileOutputStream(fileToWrite);
> newDoc.writeFilesystem(outStream);
> //In this way it is giving me error in opening file.

What sort of error? This looks like it ought to work 

It is giving me 
http://apache-poi.1045710.n5.nabble.com/file/n5710420/error.bmp 

--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Read-msg-file-inside-other-msg-file-tp5710411p5710420.html
Sent from the POI - Dev mailing list archive at Nabble.com.

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


Mime
View raw message