Closed nylu closed 1 year ago
Hi @nylu , I'm trying to replicate issue but I cannot reproduce it since the saved .msg file is being correcly opened by Outlook. I'm not expecting the same contents in the file since stucture of directory is recreated on saving file and some "structural" data can be different even if semantically equivalent. Are you sure you are correctly closing the target file after you've saved it? It looks like a lock problem on msg file still opened by your openmcdf application. Please let me know and in case, if you prefer, put an example "original" msg file obviously without sensitive information in it in order to check this problem. Best Regards, Federico
Here's my testing code...
[TestMethod]
public void Test_Issue95_MSG()
{
var f = new CompoundFile("Prova.msg");
f.Save("Prova2.msg");
f.Close();
}
Closing as non-replicable. Please @nylu , if you have more detailed info open a new issue. Thank you
When loading an .msg Outlook E-Mail and just saving it again, the saved .msg file seems to be corrupt. When opening this file in Outlook you only get a nonsense error message:
The code i'm using:
The file size is identical but the content differs. What is going wrong here? What do i have to do so that outlook accepts the files created by this library?