public final class ImapMessageInfo extends MessageInfoBase
Represents a Imap message object.
Modifier and Type | Method and Description |
---|---|
boolean |
containsKeyword(String flag)
Gets a value indicating whether
Flags property contains the Keyword flag.
|
boolean |
getAnswered()
Gets a value indicating whether
Flags property contains the Answered flag.
|
MailAddressCollection |
getBCC()
Deprecated.
This property is obsolete and will be removed soon, please use 'MessageInfo.Bcc' instead.
|
boolean |
getDeleted()
Gets a value indicating whether
Flags property contains the Deleted flag.
|
boolean |
getDraft()
Gets a value indicating whether
Flags property contains the Draft flag.
|
com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> |
getExtraParameters()
Gets extra parameters of a message.
|
boolean |
getFlagged()
Gets a value indicating whether
Flags property contains the Flagged flag.
|
ImapMessageFlags |
getFlags()
Gets the message flags.
|
Date |
getInternalDate()
The internal date and time of the message on the server.
|
long |
getLength()
Deprecated.
This property is obsolete and will be removed soon, please use 'MessageInfo.Size' instead.
|
long |
getModificationSequence()
Gets the modification sequence of this message.
|
String |
getParentFolder()
Gets parent folder for message
|
boolean |
getRecent()
Gets a value indicating whether
Flags property contains the Recent flag.
|
int |
getSequenceNumber()
Gets the message sequence number.
|
String |
getUniqueId()
Gets the message unique ID.
|
boolean |
isRead()
Gets a value indicating whether
Flags property contains the Read flag.
|
String |
toString()
Returns a string that represents the current object.
|
dispose, getBcc, getCC, getDate, getFrom, getHeaders, getListUnsubscribe, getMessageId, getProperties, getReplyTo, getSender, getSize, getSubject, getTo
@Deprecated public final MailAddressCollection getBCC()
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.public final String getParentFolder()
Gets parent folder for message
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.
public final long getModificationSequence()
Gets the modification sequence of this message. See more: https://tools.ietf.org/html/rfc7162
public final ImapMessageFlags getFlags()
Gets the message flags.
Value: The message flags.public final boolean containsKeyword(String flag)
Gets a value indicating whether Flags property contains the Keyword flag.
flag
- The Keyword flag.public final boolean getAnswered()
Gets a value indicating whether Flags property contains the Answered flag.
Value: The answered flag.public final boolean getDeleted()
Gets a value indicating whether Flags property contains the Deleted flag.
Value: The deleted flag.public final boolean getDraft()
Gets a value indicating whether Flags property contains the Draft flag.
Value: The draft flag.public final boolean getFlagged()
Gets a value indicating whether Flags property contains the Flagged flag.
Value: The flagged flag.public final boolean getRecent()
Gets a value indicating whether Flags property contains the Recent flag.
Value: The recent flag.public final boolean isRead()
Gets a value indicating whether Flags property contains the Read flag.
Value: The read flag.@Deprecated public final long getLength()
Gets the length of the message.
Value: The length of message.public final int getSequenceNumber()
Gets the message sequence number.
Value: The sequence number.public final String getUniqueId()
Gets the message unique ID.
Value: The unique id string.public final com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> getExtraParameters()
Gets extra parameters of a message.
public String toString()
Returns a string that represents the current object.
toString
in class MessageInfoBase