public class Message extends Item
| Constructor and Description |
|---|
Message()
Initializes a new instance of the Message class.
|
Message(MimeContent mimeContent)
Initializes a new instance of the Message class.
|
Message(java.lang.String subject)
Initializes a new instance of the Message class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Mailbox> |
getBccRecipients()
Gets a collection of recipients to receive a blind carbon copy (Bcc) of an e-mail message.
|
java.util.List<Mailbox> |
getCcRecipients()
Gets a collection of recipients that will receive a copy of the message.
|
java.lang.String |
getConversationIndex()
Gets a binary ID that represents the thread to which this message belongs.
|
java.lang.String |
getConversationTopic()
Gets the conversation identifier.
|
java.util.Date |
getDeferredDeliveryTime()
Gets the date and time the mail message is to be delivered.
|
java.util.Date |
getDeferredSendTime()
Gets the deferred send time.
|
java.lang.String |
getDisplayCc()
Gets the display string that is used for the contents of the CC line.
|
java.lang.String |
getDisplayTo()
Gets the display string that is used for the contents of the To box.
|
java.util.Date |
getDueDate()
Gets the date and time when the event occurs.
|
java.util.Date |
getFlagCompleteTime()
Gets the flag complete time for the mail message.
|
FlagIcon |
getFlagIcon()
Gets the flag icon for the mail message.
|
java.lang.String |
getFlagRequest()
Gets the requested action for an e-mail message.
|
FlagStatus |
getFlagStatus()
Gets the flag status for the mail message.
|
Mailbox |
getFrom()
Gets the addressee from whom the message was sent.
|
boolean |
getHideAttachments()
Gets the hide attachments.
|
java.lang.String |
getInReplyTo()
Gets the identifier of the item to which this item is a reply.
|
java.lang.String |
getInReplyToId()
Gets the message id of the message for which this message is a reply.
|
java.util.List<InternetMessageHeader> |
getInternetMessageHeaders()
Gets the collection of all Internet message headers that are contained within an item in a mailbox.
|
java.lang.String |
getInternetMessageId()
Gets the Internet message identifier of an item.
|
LastVerbExecuted |
getLastVerbExecuted()
Gets the last action, such as reply or forward, that was taken on the message so that the client can display the appropriate icon.
|
java.util.List<MessageFlag> |
getMessageFlags()
Gets a bitmask of flags indicating the origin and current state of a message.
|
Mailbox |
getReceivedBy()
Gets the delegate in a delegate access scenario.
|
Mailbox |
getReceivedRepresenting()
Gets the principal in a delegate access scenario.
|
java.util.Date |
getReceivedTime()
Gets the date and time that an item in a mailbox was received.
|
java.lang.String |
getReferences()
Gets the delegate in a delegate access scenario.
|
java.util.List<Mailbox> |
getReplyTo()
Gets a set of addresses to which replies should be sent.
|
java.util.List<ResponseItem> |
getResponseItems()
Gets a collection of all the response objects that are associated with an item in the Exchange store.
|
Mailbox |
getSender()
Gets the sender of an item.
|
java.util.Date |
getSentTime()
Gets the date and time that an item in a mailbox was sent.
|
java.util.Date |
getStartDate()
Gets the start date.
|
java.util.List<Mailbox> |
getToRecipients()
Gets a set of recipients of a message.
|
java.util.List<java.lang.String> |
getVotingOptions()
Gets a delimited string containing the voting options for the mail message.
|
java.lang.String |
getVotingResponse()
Gets the voting response for the mail message.
|
boolean |
isDeliveryReceiptRequested()
Gets whether the sender of an item requests a delivery receipt.
|
boolean |
isDraft()
Gets whether an item has not yet been sent.
|
boolean |
isFromMe()
Gets whether a user sent an item to him or herself.
|
boolean |
isRead()
Gets whether a message has been read.
|
boolean |
isReadReceiptRequested()
Gets whether the sender of an item requests a read receipt.
|
boolean |
isResend()
Gets whether the item had previously been sent.
|
boolean |
isResponseRequested()
Gets whether a response to an e-mail message is requested.
|
boolean |
isSubmitted()
Gets whether an item has been submitted to the Outbox default folder.
|
boolean |
isUnmodified()
Gets whether the item has been modified.
|
void |
setDeferredDeliveryTime(java.util.Date deferredDeliveryTime)
Sets the date and time the mail message is to be delivered.
|
void |
setDeferredSendTime(java.util.Date deferredSendTime)
Sets the deferred send time.
|
void |
setDeliveryReceiptRequested(boolean isDeliveryReceiptRequested)
Sets whether the sender of an item requests a delivery receipt.
|
void |
setDueDate(java.util.Date dueDate)
Sets the date and time when the event occurs.
|
void |
setFlagCompleteTime(java.util.Date flagCompleteTime)
Sets the flag complate time for the mail message.
|
void |
setFlagIcon(FlagIcon flagIcon)
Sets the flag staicontus for the mail message.
|
void |
setFlagRequest(java.lang.String flagRequest)
Sets the requested action for an e-mail message.
|
void |
setFlagStatus(FlagStatus flagStatus)
Sets the flag status for the mail message.
|
void |
setFrom(Mailbox from)
Sets the addressee from whom the message was sent.
|
void |
setHideAttachments(boolean hideAttachments)
Sets the hide attachments.
|
void |
setInReplyTo(java.lang.String inReplyTo)
Sets the identifier of the item to which this item is a reply.
|
void |
setRead(boolean isRead)
Sets whether a message has been read.
|
void |
setReadReceiptRequested(boolean isReadReceiptRequested)
Sets whether the sender of an item requests a read receipt.
|
void |
setReferences(java.lang.String references)
Sets the delegate in a delegate access scenario.
|
void |
setResponseRequested(boolean isResponseRequested)
Sets whether a response to an e-mail message is requested.
|
void |
setSender(Mailbox sender)
Sets the sender of an item.
|
void |
setStartDate(java.util.Date startDate)
Gets the start date of a recurrence range.
|
void |
setVotingOptions(java.util.List<java.lang.String> votingOptions)
Sets a delimited string containing the voting options for the mail message.
|
void |
setVotingResponse(java.lang.String votingResponse)
Sets the voting response for the mail message.
|
java.lang.String |
toString()
Converts the value of the current Message object to its equivalent string representation.
|
getArchiveTag, getAttachments, getBody, getBodyHtmlText, getBodyPlainText, getBodyRtf, getCategories, getComment, getConversationId, getCreatedTime, getCulture, getDisplayName, getEffectiveRights, getEntityExtractionResult, getEntryId, getExtendedProperties, getExtendedProperty, getFlag, getGroupingAction, getIconIndex, getImportance, getInstanceKey, getItemClass, getItemId, getLastModifiedTime, getLastModifierName, getMimeContent, getNextPredictedAction, getParentId, getPreview, getReminderDueBy, getReminderIsSet, getReminderMinutesBeforeStart, getRetentionDate, getRetentionTag, getRtfCompressed, getSearchKey, getSensitivity, getSize, getStoreEntryId, getSubject, getTextBody, getUniqueBody, getWebClientEditFormQueryString, getWebClientReadFormQueryString, hasAttachments, hasBlockedImages, isAssociated, isBlockStatus, isHidden, setArchiveTag, setBody, setBodyRtf, setCategories, setComment, setDisplayName, setEffectiveRights, setFlag, setHidden, setImportance, setItemClass, setMimeContent, setReminderDueBy, setReminderIsSet, setReminderMinutesBeforeStart, setRetentionDate, setRetentionTag, setRtfCompressed, setSensitivity, setSubjectpublic Message()
public Message(java.lang.String subject)
subject - the subjectpublic Message(MimeContent mimeContent)
mimeContent - the mime contentpublic java.lang.String toString()
public java.util.Date getReceivedTime()
public java.lang.String getInReplyTo()
public void setInReplyTo(java.lang.String inReplyTo)
inReplyTo - the new in reply topublic boolean isSubmitted()
public boolean isDraft()
public boolean isFromMe()
public boolean isResend()
public boolean isUnmodified()
public java.util.List<InternetMessageHeader> getInternetMessageHeaders()
public java.util.Date getSentTime()
public java.util.List<ResponseItem> getResponseItems()
public java.lang.String getDisplayCc()
public java.lang.String getDisplayTo()
public Mailbox getSender()
public void setSender(Mailbox sender)
sender - the new senderpublic java.util.List<Mailbox> getToRecipients()
public java.util.List<Mailbox> getCcRecipients()
public java.util.List<Mailbox> getBccRecipients()
public boolean isReadReceiptRequested()
public void setReadReceiptRequested(boolean isReadReceiptRequested)
isReadReceiptRequested - the new read receipt requestedpublic boolean isDeliveryReceiptRequested()
public void setDeliveryReceiptRequested(boolean isDeliveryReceiptRequested)
isDeliveryReceiptRequested - the new delivery receipt requestedpublic java.lang.String getConversationIndex()
public java.lang.String getConversationTopic()
public Mailbox getFrom()
public void setFrom(Mailbox from)
from - the new frompublic java.lang.String getInternetMessageId()
public boolean isRead()
public void setRead(boolean isRead)
isRead - the new readpublic boolean isResponseRequested()
public void setResponseRequested(boolean isResponseRequested)
isResponseRequested - the new response requestedpublic java.lang.String getReferences()
public void setReferences(java.lang.String references)
references - the new referencespublic java.util.List<Mailbox> getReplyTo()
public LastVerbExecuted getLastVerbExecuted()
public java.lang.String getInReplyToId()
public FlagStatus getFlagStatus()
public void setFlagStatus(FlagStatus flagStatus)
flagStatus - the new flag statuspublic FlagIcon getFlagIcon()
public void setFlagIcon(FlagIcon flagIcon)
flagIcon - the new flag iconpublic java.util.Date getFlagCompleteTime()
public void setFlagCompleteTime(java.util.Date flagCompleteTime)
flagCompleteTime - the new flag complete timepublic java.lang.String getFlagRequest()
public void setFlagRequest(java.lang.String flagRequest)
flagRequest - the new flag requestpublic boolean getHideAttachments()
public void setHideAttachments(boolean hideAttachments)
hideAttachments - the new hide attachmentspublic java.util.List<java.lang.String> getVotingOptions()
public void setVotingOptions(java.util.List<java.lang.String> votingOptions)
votingOptions - the new voting optionspublic java.lang.String getVotingResponse()
public void setVotingResponse(java.lang.String votingResponse)
votingResponse - the new voting responsepublic java.util.Date getDeferredDeliveryTime()
public void setDeferredDeliveryTime(java.util.Date deferredDeliveryTime)
deferredDeliveryTime - the new deferred delivery timepublic java.util.Date getDeferredSendTime()
public void setDeferredSendTime(java.util.Date deferredSendTime)
deferredSendTime - the new deferred send timepublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate - the new start datepublic java.util.Date getDueDate()
public void setDueDate(java.util.Date dueDate)
dueDate - the new due datepublic java.util.List<MessageFlag> getMessageFlags()
public Mailbox getReceivedBy()
public Mailbox getReceivedRepresenting()