Hi,
Hi Robert,
Following sample code detects the internal emails and saves them as EML file on disc. Please give it a try and share the feedback.
String path = @"\";
var mail = MailMessage.Load(path + "sample.eml", new EmlLoadOptions());
String attName = null;
foreach (Aspose.Email.Mail.Attachment attch in mail.Attachments)
{
if (attch.ContentType.MediaType == "message/rfc822")
{
attName = path + attch.Name + ".eml";
attch.Save(attName);
}
}