Hi Manuel,
Could you please send us the sample msg file for which this error is occurring. And please also mention the OS, .net version and Aspose.Network version that you are using.
I just tested the attached msg file and saved the pdf attachment without any trouble. The code I used is given below:
Dim
msg1
As Aspose.Network.Outlook.MapiMessage = Aspose.Network.Outlook.MapiMessage.FromFile(
"d:\temp\test1.msg")
For Each att As MapiAttachment In msg1.Attachments
att.Save("d:\temp\" & att.LongFileName)
Next att
Best Regards,
Saqib Razzaq
Support Developer
Aspose Guangzhou Team