public abstract class ExchangeMessageInfo extends Object
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
|
MailAddressCollection |
getBcc()
Gets blind carbon copy of the E-Mail message.
|
MailAddressCollection |
getCC()
Gets CC of the E-Mail 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.
|
MailAddress |
getFrom()
Gets the From of the E-Mail message.
|
Date |
getInternalDate()
The internal date and time of the message on the server.
|
String |
getMessageId()
Gets the message id.
|
abstract int |
getMessageInfoType()
Gets the type of the message
|
int |
getSize()
Gets the message size.
|
String |
getSubject()
Gets the Subject of the E-Mail message.
|
MailAddressCollection |
getTo()
Gets the receiptants of the E-Mail message.
|
abstract String |
getUniqueUri()
Gets the unique URI of message.
|
abstract boolean |
hasAttachments()
Gets a value indicating whether the message contains at least one attachment.
|
abstract boolean |
isRead()
Gets a value that specifies
whether the message has been read
|
String |
toString()
A string that represents the current object.
|
protected ExchangeMessageInfo()
Initializes a new instance of the ExchangeMessageInfo
class.
public MailAddressCollection getCC()
Gets CC of the E-Mail message.
public MailAddressCollection getBcc()
Gets blind carbon copy of the E-Mail 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 MailAddress getFrom()
Gets the From of the E-Mail message.
public String getSubject()
Gets the Subject of the E-Mail message.
public MailAddressCollection getTo()
Gets the receiptants of the E-Mail message.
public String getMessageId()
Gets the message id.
Value: The message id.public int getSize()
Gets the message size.
Value: The message size.public ExchangeAttachmentInfoCollection getAttachments()
Gets message attachments
public abstract String getUniqueUri()
Gets the unique URI of message.
Value: The string that represents the unique URI.public abstract boolean isRead()
Gets a value that specifies whether the message has been read
public abstract boolean hasAttachments()
Gets a value indicating whether the message contains at least one attachment.
public abstract int getMessageInfoType()
Gets the type of the message
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.