MailBee.NET Objects 7.2

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.

This overload does not extract RFT message body from TNEF. Use GetAttachmentsFromTnef overload for that.

Example

The example is available in IsTnef topic. Advanced example is available in GetAttachmentsFromTnef topic.

See Also

Attachment Class | MailBee.Mime Namespace | Attachment.GetAttachmentsFromTnef Overload List | IsTnef