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

        @Deprecated
        public final boolean getEmbedResources()
        Deprecated. EmbedResources is obsolete, don't work correctly and will be removed soon. Please use ResourceRenderingMode instead.

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

      • setEmbedResources

        @Deprecated
        public final void setEmbedResources(boolean value)
        Deprecated. EmbedResources is obsolete, don't work correctly and will be removed soon. Please use ResourceRenderingMode instead.

        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.

      • getResourceHtmlRenderingHandler

        public final ResourceHtmlRenderingHandler getResourceHtmlRenderingHandler()

        Provides customization of rendering resources in html.

      • setResourceHtmlRenderingHandler

        public final void setResourceHtmlRenderingHandler(ResourceHtmlRenderingHandler value)

        Provides customization of rendering resources in html.

      • getResourceRenderingMode

        public final int getResourceRenderingMode()

        Provides set various modes of rendering resources in html. Default value EmbedIntoHtml.

      • setResourceRenderingMode

        public final void setResourceRenderingMode(int value)

        Provides set various modes of rendering resources in html. Default value EmbedIntoHtml.