HeadersFormattingOptions class

Allows to specify headers formatting options when saving MailMessage to Mhtml or Html format.

public abstract class HeadersFormattingOptions : SaveOptions


Name Description
HeadersFormattingOptions() Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.


Name Description
AfterHeadersFormat { get; set; } After headers format.
BeforeHeadersFormat { get; set; } Before headers format.
CssStyles { get; set; } Gets or sets the additional css styles for the formatter.
CustomProgressHandler { get; set; } Represents method that usually supplied by calling side and handles progress events.
DefaultHeaderFormat { get; set; } Default header line format.
DefaultPageHeaderFormat { get; set; } Default page header format.
FormatTemplates { get; } Gets the format templates.
MailMessageSaveType { get; set; } Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.
RenderedContactFields { get; set; } Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.
RenderingHeaders { get; } Gets list of headers for rendering.

See Also