public abstract class ExchangeMessageInfo extends MessageInfoBase
The ExchangeMessageInfo represents the E-Mail message info fetched from the Exchange Store.
Modifier | Constructor and Description |
---|---|
protected |
ExchangeMessageInfo()
Initializes a new instance of the
ExchangeMessageInfo class. |
Modifier and Type | Method and Description |
---|---|
ExchangeAttachmentInfoCollection |
getAttachments()
Gets message attachments
|
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.
|
Date |
getInternalDate()
The internal date and time of the message on the server.
|
String |
getMessageId()
Gets the message id.
|
int |
getMessageInfoType()
Gets the type of the message
|
String |
getUniqueUri()
Gets the unique URI of message.
|
boolean |
hasAttachments()
Gets a value indicating whether the message contains at least one attachment.
|
boolean |
isRead()
Gets a value indicating whether the message has been read
|
dispose, getBcc, getCC, getFrom, getHeaders, getListUnsubscribe, getSender, getSize, getSubject, getTo, toString
protected ExchangeMessageInfo()
Initializes a new instance of the ExchangeMessageInfo
class.
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 String getMessageId()
Gets the message id.
Value: The message id.public ExchangeAttachmentInfoCollection getAttachments()
Gets message attachments
public String getUniqueUri()
Gets the unique URI of message.
Value: The string that represents the unique URI.public boolean isRead()
Gets a value indicating whether the message has been read
public boolean hasAttachments()
Gets a value indicating whether the message contains at least one attachment.
public int getMessageInfoType()
Gets the type of the message
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.