We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Getting Extra attachment while loading email

Hello,

while loading email that i have already attached to this email through “aspose.emal” getting extra two attachments. actually there is no attachments in the file. Please help me.

fcc6e00f-6e18-439e-83ad-b528db221c12_8578_44.zip (2.0 KB)

@Shital_diwate,

We were unable to reproduce the issue that you reported. We used the code snippet given below for testing. It returned the count of attachments as zero.

MapiMessage message = MapiMessage.Load("ExtraAttachment.eml", new EmlLoadOptions());
Console.WriteLine("Attachment Count: " + message.Attachments.Count);

Please make sure that you are using the latest version of Aspose.Email for .NET API for testing.