Method extract all attachments from TNEF.
Returns true if any attachments was saved
Returns false if ContentType is not "application/ms-tnef". 4AspNet POP3 .NET Component ver. 2.0+ only.
This sample shows how to use the ExtractTNEFAttachments method
...
for (int i = 1; i <= objPOP3.TotalMailCount; i++)
{
EmailMessage objEmail = objPOP3.GetMessage(i, false);
if (objEmail.IsAnyAttachments)
{
for(int a = 0; a < objEmail.Attachments.Count; a++)
{
Attachment att = (Attachment)objEmail.Attachments[a];
if (att.ContentType == "application/ms-tnef")
{
att.ExtractTNEFAttachments(@"c:\temp\");
}
}
}
}
...
Attachment Class | ForAspNet.POP3 Namespace