public final class ImapMessageInfo extends Object implements com.aspose.ms.System.IDisposable
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.
|
void |
dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
|
boolean |
getAnswered()
Gets a value indicating whether
Flags property contains the Answered flag.
|
MailAddressCollection |
getBCC()
Gets the list of blind carbon copy.
|
MailAddressCollection |
getCC()
Gets the list of addresses of others who are to receive the message.
|
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.
|
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.
|
MailAddress |
getFrom()
Gets the list of authors of this message.
|
Date |
getInternalDate()
The internal date and time of the message on the server.
|
long |
getLength()
Gets the length of the message.
|
String |
getMessageId()
Gets the message ID.
|
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.
|
MailAddress |
getReplyTo()
Gets the list of addresses that should receive replies to this message.
|
MailAddress |
getSender()
Gets the sender of this message.
|
int |
getSequenceNumber()
Gets the message sequence number.
|
String |
getSubject()
Gets the subject of the message.
|
MailAddressCollection |
getTo()
Gets the list of addresses of primary recipients of the message.
|
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.
|
public MailAddressCollection getCC()
Gets the list of addresses of others who are to receive the message.
Value: The the list of addresses.public 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 String getParentFolder()
Gets parent folder for message
public 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.)
public 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 long getModificationSequence()
Gets the modification sequence of this message. See more: https://tools.ietf.org/html/rfc7162
public ImapMessageFlags getFlags()
Gets the message flags.
Value: The message flags.public MailAddress getFrom()
Gets the list of authors of this message.
Value: The list of authors of this message.public boolean containsKeyword(String flag)
Gets a value indicating whether Flags property contains the Keyword flag.
flag
- The Keyword flag.public boolean getAnswered()
Gets a value indicating whether Flags property contains the Answered flag.
Value: The answered flag.public boolean getDeleted()
Gets a value indicating whether Flags property contains the Deleted flag.
Value: The deleted flag.public boolean getDraft()
Gets a value indicating whether Flags property contains the Draft flag.
Value: The draft flag.public boolean getFlagged()
Gets a value indicating whether Flags property contains the Flagged flag.
Value: The flagged flag.public boolean getRecent()
Gets a value indicating whether Flags property contains the Recent flag.
Value: The recent flag.public boolean isRead()
Gets a value indicating whether Flags property contains the Read flag.
Value: The read flag.public long getLength()
Gets the length of the message.
Value: The length of message.public MailAddress getReplyTo()
Gets the list of addresses that should receive replies to this message.
Value: The list of addresses.public MailAddress getSender()
Gets the sender of this message.
Value: The sender of this message.public int getSequenceNumber()
Gets the message sequence number.
Value: The sequence number.public String getSubject()
Gets the subject of the message.
Value: The subject.public MailAddressCollection getTo()
Gets the list of addresses of primary recipients of the message.
Value: The list of addresses.public String getMessageId()
Gets the message ID.
Value: The message id string.public String getUniqueId()
Gets the message unique ID.
Value: The unique id string.public com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> getExtraParameters()
Gets extra parameters of a message.
public void dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.