Class TnefLoadOptions
Contents
[
Hide
]TnefLoadOptions class
Provides options for controlling how MailMessage instances are loaded from TNEF (Transport Neutral Encapsulation Format) format. This class is used primarily for handling Microsoft Outlook TNEF attachments (winmail.dat) that may contain rich text formatting and embedded objects.
public class TnefLoadOptions : LoadOptions
Constructors
| Name | Description |
|---|---|
| TnefLoadOptions() | Initializes a new instance of the TnefLoadOptions class with the default options. |
Properties
| Name | Description |
|---|---|
| MessageFormat { get; } | Gets the format this options object loads, as determined by its class: EML, MSG, MHTML, HTML and so on. |
| PreferredTextEncoding { get; set; } | Gets or sets the encoding used for the subject and the body regardless of what the message declares. The default is null: the declared encoding is used. |
| PreserveEmbeddedMessageFormat { get; set; } | Gets or sets a value indicating whether embedded messages keep their original format (EML or MSG) when loaded. The default is false. |
| RemoveSignature { get; set; } | Gets or sets a value indicating whether the digital signature is removed from a signed message while it is loaded. |
Remarks
Use this class with Load to load TNEF data. TNEF is a proprietary Microsoft format used by Outlook to encapsulate rich text messages and attachments. The TNEF format is typically encountered in winmail.dat attachments when emails are sent from Outlook to non-Outlook clients.
See Also
- class LoadOptions
- namespace Aspose.Email
- assembly Aspose.Email