com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MhtMessageFormatter

    • Constructor Detail

      • MhtMessageFormatter

        public MhtMessageFormatter()
        Deprecated. 

        Creates an instance of MhtMessageFormatter.

    • Method Detail

      • getSaveAttachments

        public boolean getSaveAttachments()
        Deprecated. 

        Gets or sets a value indicating whether to save attachments.

        Value: true if attachments should be saved; otherwise, false.
      • setSaveAttachments

        public void setSaveAttachments(boolean value)
        Deprecated. 

        Gets or sets a value indicating whether to save attachments.

        Value: true if attachments should be saved; otherwise, false.
      • getLocationFormat

        public String getLocationFormat()
        Deprecated. 

        Gets or sets the Location format.

        Value: The Location format.
      • setLocationFormat

        public void setLocationFormat(String value)
        Deprecated. 

        Gets or sets the Location format.

        Value: The Location format.
      • getStartFormat

        public String getStartFormat()
        Deprecated. 

        Gets or sets the Start format.

        Value: The Start format.
      • setStartFormat

        public void setStartFormat(String value)
        Deprecated. 

        Gets or sets the Start format.

        Value: The Start format.
      • getEndFormat

        public String getEndFormat()
        Deprecated. 

        Gets or sets the End format.

        Value: The End format.
      • setEndFormat

        public void setEndFormat(String value)
        Deprecated. 

        Gets or sets the End format.

        Value: The End format.
      • getShowTimeAsFormat

        public String getShowTimeAsFormat()
        Deprecated. 

        Gets or sets the ShowTimeAs format.

        Value: The ShowTimeAs format.
      • setShowTimeAsFormat

        public void setShowTimeAsFormat(String value)
        Deprecated. 

        Gets or sets the ShowTimeAs format.

        Value: The ShowTimeAs format.
      • getRecurrenceFormat

        public String getRecurrenceFormat()
        Deprecated. 

        Gets or sets the Recurrence format.

        Value: The Recurrence format.
      • setRecurrenceFormat

        public void setRecurrenceFormat(String value)
        Deprecated. 

        Gets or sets the Recurrence format.

        Value: The Recurrence format.
      • getRecurrencePatternFormat

        public String getRecurrencePatternFormat()
        Deprecated. 

        Gets or sets the RecurrencePattern format.

        Value: The RecurrencePattern format.
      • setRecurrencePatternFormat

        public void setRecurrencePatternFormat(String value)
        Deprecated. 

        Gets or sets the RecurrencePattern format.

        Value: The RecurrencePattern format.
      • getOrganizerFormat

        public String getOrganizerFormat()
        Deprecated. 

        Gets or sets the Organizer format.

        Value: The Organizer format.
      • setOrganizerFormat

        public void setOrganizerFormat(String value)
        Deprecated. 

        Gets or sets the Organizer format.

        Value: The Organizer format.
      • getRequiredAttendeesFormat

        public String getRequiredAttendeesFormat()
        Deprecated. 

        Gets or sets the RequiredAttendees format.

        Value: The RequiredAttendees format.
      • setRequiredAttendeesFormat

        public void setRequiredAttendeesFormat(String value)
        Deprecated. 

        Gets or sets the RequiredAttendees format.

        Value: The RequiredAttendees format.
      • getWhenFormat

        @Deprecated
        public String getWhenFormat()
        Deprecated. 

        Gets or sets the When format.

        Value: The When format.
      • setWhenFormat

        @Deprecated
        public void setWhenFormat(String value)
        Deprecated. 

        Gets or sets the When format.

        Value: The When format.
      • getPreserveOriginalDate

        public boolean getPreserveOriginalDate()
        Deprecated. 

        Defines whether need keep original date in mail message when saving or not. Default value is true.

      • setPreserveOriginalDate

        public void setPreserveOriginalDate(boolean value)
        Deprecated. 

        Defines whether need keep original date in mail message when saving or not. Default value is true.

      • getDateTimeFormat

        public String getDateTimeFormat()
        Deprecated. 

        Gets or sets the date time format.

        Value: The date time format.
      • setDateTimeFormat

        public void setDateTimeFormat(String value)
        Deprecated. 

        Gets or sets the date time format.

        Value: The date time format.
      • getPageHeaderFormat

        public String getPageHeaderFormat()
        Deprecated. 

        Gets or sets the page header format.

        Value: The page header format.
      • setPageHeaderFormat

        public void setPageHeaderFormat(String value)
        Deprecated. 

        Gets or sets the page header format.

        Value: The page header format.
      • getFromFormat

        public String getFromFormat()
        Deprecated. 

        Gets or sets format of the 'From' field.

        Value: Format of the 'From' field.
      • setFromFormat

        public void setFromFormat(String value)
        Deprecated. 

        Gets or sets format of the 'From' field.

        Value: Format of the 'From' field.
      • getSentFormat

        public String getSentFormat()
        Deprecated. 

        Gets or sets the sent format.

        Value: The sent format.
      • setSentFormat

        public void setSentFormat(String value)
        Deprecated. 

        Gets or sets the sent format.

        Value: The sent format.
      • getToFormat

        public String getToFormat()
        Deprecated. 

        Gets or sets to format.

        Value: To format.
      • setToFormat

        public void setToFormat(String value)
        Deprecated. 

        Gets or sets to format.

        Value: To format.
      • getCcFormat

        public String getCcFormat()
        Deprecated. 

        Gets or sets the cc format.

        Value: The cc format.
      • setCcFormat

        public void setCcFormat(String value)
        Deprecated. 

        Gets or sets the cc format.

        Value: The cc format.
      • getSubjectFormat

        public String getSubjectFormat()
        Deprecated. 

        Gets or sets the subject format.

        Value: The subject format.
      • setSubjectFormat

        public void setSubjectFormat(String value)
        Deprecated. 

        Gets or sets the subject format.

        Value: The subject format.
      • getAttachmentFormat

        public String getAttachmentFormat()
        Deprecated. 

        Gets or sets the attachment format.

        Value: The attachment format.
      • setAttachmentFormat

        public void setAttachmentFormat(String value)
        Deprecated. 

        Gets or sets the attachment format.

        Value: The attachment format.
      • getBccFormat

        public String getBccFormat()
        Deprecated. 

        Gets or sets the bcc format.

        Value: The bcc format.
      • setBccFormat

        public void setBccFormat(String value)
        Deprecated. 

        Gets or sets the bcc format.

        Value: The bcc format.
      • getCssStyles

        public String getCssStyles()
        Deprecated. 

        Gets or sets the additional css styles for the formatter.

        Value: The styles to be injected into resulting html body.
      • setCssStyles

        public void setCssStyles(String value)
        Deprecated. 

        Gets or sets the additional css styles for the formatter.

        Value: The styles to be injected into resulting html body.
      • getImportanceFormat

        public String getImportanceFormat()
        Deprecated. 

        Gets or sets the importance format.

        Value: The importance format.
      • setImportanceFormat

        public void setImportanceFormat(String value)
        Deprecated. 

        Gets or sets the importance format.

        Value: The importance format.
      • getDefaultMhtFormatOptions

        public static int getDefaultMhtFormatOptions()
        Deprecated. 

        MhtFormatOptions that will be used for formatting by default.

      • getFormatTemplates

        public com.aspose.ms.System.Collections.Specialized.StringDictionary getFormatTemplates()
        Deprecated. 

        Gets the format templates.

        Value: The format templates.
        Specified by:
        getFormatTemplates in interface IMessageFormatter
        Returns:
        A format templates
      • format

        public void format(MailMessage message)
        Deprecated. 

        Adds information header into message body.

        Specified by:
        format in interface IMessageFormatter
        Parameters:
        message - The MailMessage to be formatted.
      • format

        public void format(MailMessage message,
                  int formatOptions)
        Deprecated. 

        Adds information header into message body.

        Parameters:
        message - The MailMessage to be formatted.
        formatOptions - Options for formattingMhtFormatOptions.