public AttachmentCollection GetAttachmentsFromTnef()
Public Function GetAttachmentsFromTnef As AttachmentCollection
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(TnefExtractionOptions) overload for that.
If winmail.dat contains nested winmail.dat files, they will be decoded as well as "message/rfc822" attachments. To process them, check IsMessageInside property and GetEncapsulatedMessage method to get internal MailMessage object. For that object, you can then iterate through Attachments collection to get its contents. You no longer need to call for nested objects. Single call extracts contents from all winmail.dat files on all levels.