|TnefParserGetAttachments Method (String, TnefExtractionOptions)|
public static AttachmentCollection GetAttachments( string filename, TnefExtractionOptions options )
Public Shared Function GetAttachments ( filename As String, options As TnefExtractionOptions ) As AttachmentCollection
In case if you got an e-mail with a TNEF attachment, it's easier to use GetAttachmentsFromTnef method to extract data from it.
This overload internally handles the situation when the source file contents ends with excessive CRLF at the end. You don't need to do anything to handle this situation.