public class HtmlSaveOptions extends SaveOptions
Allows to specify additional options when saving MailMessage to Html format.
Constructor and Description |
---|
HtmlSaveOptions()
Initializes a new instance of this class that can be used to save a MailMessage in the Html format.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
|
boolean |
getEmbedResources()
Defines whether need embed resources in html content when saving or not.
|
int |
getHtmlFormatOptions()
Gets or sets additional options when saving in HTML format.
|
SaveResourceHandler |
getSaveResourceHandler()
This handler is called for saving all message attachments if EmbedResources is false.
|
void |
setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
|
void |
setEmbedResources(boolean value)
Defines whether need embed resources in html content when saving or not.
|
void |
setHtmlFormatOptions(int value)
Gets or sets additional options when saving in HTML format.
|
void |
setSaveResourceHandler(SaveResourceHandler value)
This handler is called for saving all message attachments if EmbedResources is false.
|
createSaveOptions, getCustomProgressHandler, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, setCustomProgressHandler, setMailMessageSaveType
public HtmlSaveOptions()
Initializes a new instance of this class that can be used to save a MailMessage in the Html format.
public final boolean getEmbedResources()
Defines whether need embed resources in html content when saving or not. Default value is true.
public final void setEmbedResources(boolean value)
Defines whether need embed resources in html content when saving or not. Default value is true.
public final int getHtmlFormatOptions()
Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.
public final void setHtmlFormatOptions(int value)
Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.
public final boolean getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
public final void setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
public final SaveResourceHandler getSaveResourceHandler()
This handler is called for saving all message attachments if EmbedResources is false.
public final void setSaveResourceHandler(SaveResourceHandler value)
This handler is called for saving all message attachments if EmbedResources is false.