Reputation:
I use Aspose.Email for view content of .msg file and this is my code:
Dim msg As MapiMessage = MapiMessage.FromFile(“D:\Test\md50000003583.msg”)
However, it shows the following error:
“This is not a structured storage file”
Here's the link to my .msg file
Upvotes: 0
Views: 3159
Reputation: 51
It seems the file is corrupt as it can't be opened by MS Outlook or MFCMapi as well. We have already shared our findings with you in Aspose.Email forum as well. If your message is of EML format, use MailMessage to load the EML file.
I work with Aspose as Developer Evangelist.
Upvotes: 0
Reputation: 66235
The file you have is the EML (MIME) file - not an MSG file. See Difference between a .msg file and a .eml file for the explanation of the difference between the two.
Upvotes: 2