com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class HtmlSaveOptions



  • public class HtmlSaveOptions
    extends SaveOptions

    Allows to specify additional options when saving MailMessage to Html format.

    • Constructor Detail

      • HtmlSaveOptions

        public HtmlSaveOptions()

        Initializes a new instance of this class that can be used to save a MailMessage in the Html format.

    • Method Detail

      • getEmbedResources

        public final boolean getEmbedResources()

        Defines whether need embed resources in html content when saving or not. Default value is true.

      • setEmbedResources

        public final void setEmbedResources(boolean value)

        Defines whether need embed resources in html content when saving or not. Default value is true.

      • getHtmlFormatOptions

        public final int getHtmlFormatOptions()

        Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.

      • setHtmlFormatOptions

        public final void setHtmlFormatOptions(int value)

        Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.

      • getCheckBodyContentEncoding

        public final boolean getCheckBodyContentEncoding()

        Defines whether need check message body content encoding when saving.

      • setCheckBodyContentEncoding

        public final void setCheckBodyContentEncoding(boolean value)

        Defines whether need check message body content encoding when saving.

      • getSaveResourceHandler

        public final SaveResourceHandler getSaveResourceHandler()

        This handler is called for saving all message attachments if EmbedResources is false.

      • setSaveResourceHandler

        public final void setSaveResourceHandler(SaveResourceHandler value)

        This handler is called for saving all message attachments if EmbedResources is false.