TnefParserGetAttachmentsAsync Method

Namespace: MailBee.Tnef
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public static Task<AttachmentCollection> GetAttachmentsAsync(
	string filename,
	TnefExtractionOptions options
)

Parameters

filename
Type: SystemString
The path to the file containing TNEF data.
options
Type: MailBee.MimeTnefExtractionOptions
Specifies which kinds of items (attachments and/or RTF message body) to extract from TNEF.

Return Value

Type: TaskAttachmentCollection
A task that represents the asynchronous operation. The value of TResult parameter is an AttachmentCollection object representing the collection of the requested items extracted from TNEF.
Exceptions
ExceptionCondition
MailBeeIOExceptionA file reading error occurred.
MailBeeTnefExceptionA TNEF parsing error occurred.
See Also