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

Free Support Forum - aspose.com

MailMessage attachments not loading

Hello,


I have come across a number of client emails where the attachments do not seem to be loading (MailMessage.Attachments count is 0). I have attached a sample. Could you tell me if this is a known issue? I’m using Aspose.Network 2011.01.27.

Thanks.

Hi,


Thank you for inquiry.

Could you please try the latest version of Aspose.Email for .NET 1.1? I just checked with the below code and it showed 1 attachment.

MailMessage message = MailMessage.Load(“FW 11 100450 - NEW INSTRUCTION.msg”, MessageFormat.Msg);
foreach (Attachment att in message.Attachments)
{
Console.WriteLine(att.Name);
}

Yes this worked - I will change to using Aspose.Email. Thanks.