com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ImapMessageInfo

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public final class ImapMessageInfo
    extends MessageInfoBase

    Represents a Imap message object.

    • Method Detail

      • getBCC

        @Deprecated
        public final MailAddressCollection getBCC()
        Deprecated. This property is obsolete and will be removed soon, please use 'MessageInfo.Bcc' instead.

        Gets the list of blind carbon copy. BCC is a copy of an email message sent to a recipient whose email address does not appear in the message.

        Value: The the list of addresses.
      • getParentFolder

        public final String getParentFolder()

        Gets parent folder for message

      • getInternalDate

        public final Date getInternalDate()

        The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received. - In the case of messages delivered via [SMTP], this SHOULD be the date and time of final delivery of the message as defined by[SMTP]. - In the case of messages delivered by the IMAP4rev1 COPY command, this SHOULD be the internal date and time of the source message. - In the case of messages delivered by the IMAP4rev1 APPEND command, this SHOULD be the date and time as specified in the APPEND command description. - All other cases are implementation defined.

      • getModificationSequence

        public final long getModificationSequence()

        Gets the modification sequence of this message. See more: https://tools.ietf.org/html/rfc7162

      • getFlags

        public final ImapMessageFlags getFlags()

        Gets the message flags.

        Value: The message flags.
      • containsKeyword

        public final boolean containsKeyword(String flag)

        Gets a value indicating whether Flags property contains the Keyword flag.

        Parameters:
        flag - The Keyword flag.
      • getAnswered

        public final boolean getAnswered()

        Gets a value indicating whether Flags property contains the Answered flag.

        Value: The answered flag.
      • getDeleted

        public final boolean getDeleted()

        Gets a value indicating whether Flags property contains the Deleted flag.

        Value: The deleted flag.
      • getDraft

        public final boolean getDraft()

        Gets a value indicating whether Flags property contains the Draft flag.

        Value: The draft flag.
      • getFlagged

        public final boolean getFlagged()

        Gets a value indicating whether Flags property contains the Flagged flag.

        Value: The flagged flag.
      • getRecent

        public final boolean getRecent()

        Gets a value indicating whether Flags property contains the Recent flag.

        Value: The recent flag.
      • isRead

        public final boolean isRead()

        Gets a value indicating whether Flags property contains the Read flag.

        Value: The read flag.
      • getLength

        @Deprecated
        public final long getLength()
        Deprecated. This property is obsolete and will be removed soon, please use 'MessageInfo.Size' instead.

        Gets the length of the message.

        Value: The length of message.
      • getSequenceNumber

        public final int getSequenceNumber()

        Gets the message sequence number.

        Value: The sequence number.
      • getUniqueId

        public final String getUniqueId()

        Gets the message unique ID.

        Value: The unique id string.
      • getExtraParameters

        public final com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> getExtraParameters()

        Gets extra parameters of a message.

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class MessageInfoBase
        Returns:
        A string that represents the current object.