MailBee.NET Objects 3.1

Attachment.GetAttachmentsFromTnef Method 

Extracts all the files from TNEF container and returns them as AttachmentCollection.

public AttachmentCollection GetAttachmentsFromTnef();

Return Value

An AttachmentCollection object representing the collection of attachments extracted from TNEF, or a null reference (Nothing in Visual Basic) if the attachment is not a valid TNEF container.

Remarks

Prior to calling this method, check IsTnef property value to determine whether the attachment is TNEF or not.

Example

The example is available in IsTnef topic.

See Also

Attachment Class | MailBee.Mime Namespace | IsTnef