com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ImapSpecialFolderTypes

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.email.ImapSpecialFolderTypes


  • public final class ImapSpecialFolderTypes
    extends com.aspose.ms.System.Enum

    Represents enumeration of special-use mailboxes More details see in RFC6154 http://tools.ietf.org/html/rfc6154

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.EnumMap, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int All
      This mailbox presents all messages in the user's message store.
      static int Archive
      This mailbox is used to archive messages.
      static int Drafts
      This mailbox is used to hold draft messages typically, messages that are being composed but have not yet been sent.
      static int Flagged
      This mailbox presents all messages marked in some way as "important".
      static int Important
      This mailbox is used to hold messages that have been marked as important.
      static int Junk
      This mailbox is where messages deemed to be junk mail are held.
      static int NotSpecified
      If IMAP LIST Extension for Special-Use Mailboxes (RFC6154) is supported, this means that mailbox is regular and does not used for special purposes.
      static int Regular
      Deprecated. 
      This value may cause wrong understanding of folder type. It marked as obsolete and will be removed soon. Please, use 'NotSpecified' instead of it.
      static int Sent
      This mailbox is used to hold copies of messages that have been sent.
      static int Trash
      This mailbox is used to hold messages that have been deleted or marked for deletion.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • NotSpecified

        public static final int NotSpecified

        If IMAP LIST Extension for Special-Use Mailboxes (RFC6154) is supported, this means that mailbox is regular and does not used for special purposes.

        See Also:
        Constant Field Values
      • Regular

        @Deprecated
        public static final int Regular
        Deprecated. This value may cause wrong understanding of folder type. It marked as obsolete and will be removed soon. Please, use 'NotSpecified' instead of it.

        If IMAP LIST Extension for Special-Use Mailboxes (RFC6154) is supported, this means that mailbox is regular and does not used for special purposes.

        See Also:
        Constant Field Values
      • All

        public static final int All

        This mailbox presents all messages in the user's message store. Implementations MAY omit some messages, such as, perhaps, those in \Trash and \Junk. When this special use is supported, it is almost certain to represent a virtual mailbox.

        See Also:
        Constant Field Values
      • Archive

        public static final int Archive

        This mailbox is used to archive messages. The meaning of an "archival" mailbox is server-dependent; typically, it will be used to get messages out of the inbox, or otherwise keep them out of the user's way, while still making them accessible.

        See Also:
        Constant Field Values
      • Drafts

        public static final int Drafts

        This mailbox is used to hold draft messages typically, messages that are being composed but have not yet been sent. In some server implementations, this might be a virtual mailbox, containing messages from other mailboxes that are marked with the "\Draft" message flag. Alternatively, this might just be advice that a client put drafts here.

        See Also:
        Constant Field Values
      • Flagged

        public static final int Flagged

        This mailbox presents all messages marked in some way as "important". When this special use is supported, it is likely to represent a virtual mailbox collecting messages (from other mailboxes) that are marked with the "\Flagged" message flag.

        See Also:
        Constant Field Values
      • Junk

        public static final int Junk

        This mailbox is where messages deemed to be junk mail are held. Some server implementations might put messages here automatically. Alternatively, this might just be advice to a client-side spam filter.

        See Also:
        Constant Field Values
      • Sent

        public static final int Sent

        This mailbox is used to hold copies of messages that have been sent. Some server implementations might put messages here automatically. Alternatively, this might just be advice that a client save sent messages here.

        See Also:
        Constant Field Values
      • Trash

        public static final int Trash

        This mailbox is used to hold messages that have been deleted or marked for deletion. In some server implementations, this might be a virtual mailbox, containing messages from other mailboxes that are marked with the "\Deleted" message flag. Alternatively, this might just be advice that a client that chooses not to use the IMAP "\Deleted" model should use this as its trash location. In server implementations that strictly expect the IMAP "\Deleted" model, this special use is likely not to be supported.

        See Also:
        Constant Field Values
      • Important

        public static final int Important

        This mailbox is used to hold messages that have been marked as important. The "\Important" mailbox attribute is a signal that the mailbox contains messages that are likely important to the user. In an implementation that also supports the "$Important" keyword, this special use is likely to represent a virtual mailbox collecting messages (from other mailboxes) that are marked with the "$Important" keyword. In other implementations, the system might automatically put messages there based on the same sorts of heuristics that are noted for the "$Important" keyword. The distinctions between "\Important" and "\Flagged" for mailboxes are similar to those between "$Important" and "\Flagged" for messages. https://tools.ietf.org/html/rfc8457

        See Also:
        Constant Field Values