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

      • getDate

        public final Date getDate()

        The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system. For instance, this might be the time that a user pushes the "send" or "submit" button in an application program. In any case, it is specifically not intended to convey the time that the message is actually transported, but rather the time at which the human or other creator of the message has put the message into its final form, ready for transport. (For example, a portable computer user who is not connected to a network might queue a message for delivery. The origination date is intended to contain the date and time that the user queued the message, not the time when the user connected to the network to send the 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.
      • getReplyTo

        public final MailAddress getReplyTo()

        Gets the list of addresses that should receive replies to this message.

        Value: The list of addresses.
      • getSequenceNumber

        public final int getSequenceNumber()

        Gets the message sequence number.

        Value: The sequence number.
      • getMessageId

        public final String getMessageId()

        Gets the message ID.

        Value: The message id string.
      • 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.