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 boolean getEmbedResources()

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

      • setEmbedResources

        public void setEmbedResources(boolean value)

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

      • getHtmlFormatOptions

        public int getHtmlFormatOptions()

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

      • setHtmlFormatOptions

        public void setHtmlFormatOptions(int value)

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

      • getCheckBodyContentEncoding

        public boolean getCheckBodyContentEncoding()

        Defines whether need check message body content encoding when saving.

      • setCheckBodyContentEncoding

        public void setCheckBodyContentEncoding(boolean value)

        Defines whether need check message body content encoding when saving.

      • getSaveResourceHandler

        public SaveResourceHandler getSaveResourceHandler()

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

      • setSaveResourceHandler

        public void setSaveResourceHandler(SaveResourceHandler value)

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