Please check this file. When the file is opened in outlook we can see 2 text attachment.
Both of these attachments are extracted by aspose. one of the attachment name is extracted correctly, but another AVG Certification_.txt attachment name is not extracted using the same code. why is it so ?
MailMessage message = MailMessage.Load(filePath);
AttachmentCollection mailAttachments = message.Attachments;
if (mailAttachments != null && mailAttachments.Count > 0)
foreach (var mailAttachment in mailAttachments)
string attachmentname = mailAttachment.name;