Hi,
I'm using Aspose.Email for extracting attachments from eml files.
But, in some cases, the attachement count is wrong.
Only one attachment is found in the mail, while mail has more attachments.
Opening mail with Outlook client or Office365 show us that email has several attachments.
Here is the code that I use :
var emlFilename = @"C:\Test\Mail.eml";
using (MailMessage message = MailMessage.Load(emlFilename, new EmlLoadOptions()))
{
Console.Write("Email has {0} attachments.", message.Attachments.Count);
}
In attachment to this topic, you'll find a eml file example which makes error.
Thank you for helping me.