com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ClassificationOverride



  • public class ClassificationOverride
    extends Object

    Represents a user's override for how incoming messages from a specific sender should always be classified as.

    • Constructor Detail

      • ClassificationOverride

        public ClassificationOverride()

        Initalizes static members of class ClassificationOverride.

      • ClassificationOverride

        public ClassificationOverride(MailAddress sender,
                              int classifyAs)

        Initalizes static members of class ClassificationOverride.

        Parameters:
        sender - Email address information of the sender for whom the override is created.
        classifyAs - Value which specifies how incoming messages from a specific sender should always be classified as.
      • ClassificationOverride

        public ClassificationOverride(String id,
                              MailAddress sender,
                              int classifyAs)

        Initalizes static members of class ClassificationOverride.

        Parameters:
        id - The unique identifier of the override.
        sender - Email address information of the sender for whom the override is created.
        classifyAs - Value which specifies how incoming messages from a specific sender should always be classified as.
    • Method Detail

      • getId

        public final String getId()

        Gets or sets unique identifier of the override.

      • setId

        public final void setId(String value)

        Gets or sets unique identifier of the override.

      • getClassifyAs

        public final int getClassifyAs()

        Gets or sets value which specifies how incoming messages from a specific sender should always be classified as.

      • setClassifyAs

        public final void setClassifyAs(int value)

        Gets or sets value which specifies how incoming messages from a specific sender should always be classified as.

      • getSender

        public final MailAddress getSender()

        Gets or sets email address information of the sender for whom the override is created.

      • setSender

        public final void setSender(MailAddress value)

        Gets or sets email address information of the sender for whom the override is created.