EmailMessage - класс

Represents an e-mail message. Properties available on e-mail messages are defined in the EmailMessageSchema class.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
C#
public class EmailMessage : Item
Inheritance
Object    ServiceObject    Item    EmailMessage
Derived

Конструкторы

EmailMessage Initializes an unsaved local instance of EmailMessage. To bind to an existing e-mail message, use EmailMessage.Bind() instead.

Свойства

AllowedResponseActions Gets a value indicating which response actions are allowed on this item. Examples of response actions are Reply and Forward.
(Унаследован от Item)
ApprovalRequestData Gets the ApprovalRequestData property of the e-mail message.
ArchiveTag Gets or sets the archive tag.
(Унаследован от Item)
Attachments Gets a list of the attachments to this item.
(Унаследован от Item)
BccRecipients Gets the list of Bcc recipients for the e-mail message.
Body Gets or sets the body of this item.
(Унаследован от Item)
Categories Gets or sets the list of categories associated with this item.
(Унаследован от Item)
CcRecipients Gets the list of Cc recipients for the e-mail message.
ConversationId Gets the Id of the conversation this item is part of.
(Унаследован от Item)
ConversationIndex Gets the conversation index of the e-mail message.
ConversationTopic Gets the conversation topic of the e-mail message.
Culture Gets or sets the culture associated with this item.
(Унаследован от Item)
DateTimeCreated Gets the date and time this item was created.
(Унаследован от Item)
DateTimeReceived Gets the time when this item was received.
(Унаследован от Item)
DateTimeSent Gets the date and time this item was sent.
(Унаследован от Item)
DisplayCc Gets a text summarizing the Cc receipients of this item.
(Унаследован от Item)
DisplayTo Gets a text summarizing the To recipients of this item.
(Унаследован от Item)
EffectiveRights Gets a value indicating the effective rights the current authenticated user has on this item.
(Унаследован от Item)
EntityExtractionResult Gets the EntityExtractionResult of the item.
(Унаследован от Item)
ExtendedProperties Gets a list of extended properties defined on this item.
(Унаследован от Item)
Flag Get or set the Flag value for this item.
(Унаследован от Item)
From Gets or sets the "on behalf" sender of the e-mail message.
HasAttachments Gets a value indicating whether the item has attachments.
(Унаследован от Item)
Hashtags Gets or sets the list of hashtags associated with this item.
(Унаследован от Item)
IconIndex Gets the icon index.
(Унаследован от Item)
Id Gets the Id of this item.
(Унаследован от Item)
Importance Gets or sets the importance of this item.
(Унаследован от Item)
InReplyTo Gets or sets the In-Reply-To reference of this item.
(Унаследован от Item)
InstanceKey Gets the item instance key.
(Унаследован от Item)
InternetMessageHeaders Gets a list of Internet headers for this item.
(Унаследован от Item)
InternetMessageId Gets the Internet Message Id of the e-mail message.
IsAssociated Gets or sets a value indicating whether this is an associated message.
IsAttachment Gets a value indicating whether the item is an attachment.
(Унаследован от Item)
IsDeliveryReceiptRequested Gets or sets a value indicating whether a read receipt is requested for the e-mail message.
IsDirty Gets a value indicating whether the object has been modified and should be saved.
(Унаследован от ServiceObject)
IsDraft Gets a value indicating whether the item is is a draft. An item is a draft when it has not yet been sent.
(Унаследован от Item)
IsFromMe Gets a value indicating whether the item has been sent by the current authenticated user.
(Унаследован от Item)
IsNew Gets a value indicating whether this object is a real store item, or if it's a local object that has yet to be saved.
(Унаследован от Item)
IsRead Gets or sets a value indicating whether the e-mail message is read.
IsReadReceiptRequested Gets or sets a value indicating whether a read receipt is requested for the e-mail message.
IsReminderSet Gets or sets a value indicating whether a reminder is set for this item.
(Унаследован от Item)
IsResend Gets a value indicating whether the item is a resend of another item.
(Унаследован от Item)
IsResponseRequested Gets or sets a value indicating whether a response is requested for the e-mail message.
IsSubmitted Gets a value indicating whether the message has been submitted to be sent.
(Унаследован от Item)
IsUnmodified Gets a value indicating whether the item has been modified since it was created.
(Унаследован от Item)
Item Gets the value of specified property in this instance.
(Унаследован от ServiceObject)
ItemClass Gets or sets the custom class name of this item.
(Унаследован от Item)
LastModifiedName Gets the name of the user who last modified this item.
(Унаследован от Item)
LastModifiedTime Gets the date and time this item was last modified.
(Унаследован от Item)
Likers Gets the Likers associated with the message.
MentionedMe Gets a value indicating whether the item mentions me.
(Унаследован от Item)
Mentions Gets the Mentions associated with the message.
(Унаследован от Item)
MimeContent Get or sets the MIME content of this item.
(Унаследован от Item)
MimeContentUTF8 Get or sets the MimeContentUTF8 of this item.
(Унаследован от Item)
NormalizedBody Gets the normalized body of the item.
(Унаследован от Item)
ParentFolderId Gets the Id of the parent folder of this item.
(Унаследован от Item)
PolicyTag Gets or sets the policy tag.
(Унаследован от Item)
Preview Gets the item Preview.
(Унаследован от Item)
ReceivedBy Gets the ReceivedBy property of the e-mail message.
ReceivedRepresenting Gets the ReceivedRepresenting property of the e-mail message.
References Gets or sets the references of the e-mail message.
ReminderDueBy Gets or sets the date and time when the reminder is due for this item.
(Унаследован от Item)
ReminderMinutesBeforeStart Gets or sets the number of minutes before the start of this item when the reminder should be triggered.
(Унаследован от Item)
ReplyTo Gets a list of e-mail addresses to which replies should be addressed.
RetentionDate Gets the retention date.
(Унаследован от Item)
Schema Gets the schema associated with this type of object.
(Унаследован от ServiceObject)
Sender Gets or sets the sender of the e-mail message.
Sensitivity Gets or sets the sensitivity of this item.
(Унаследован от Item)
Service Gets the ExchangeService the object is bound to.
(Унаследован от ServiceObject)
Size Gets the size of this item.
(Унаследован от Item)
StoreEntryId Gets the store entry id.
(Унаследован от Item)
Subject Gets or sets the subject of this item.
(Унаследован от Item)
TextBody Gets the text body of the item.
(Унаследован от Item)
ToRecipients Gets the list of To recipients for the e-mail message.
UniqueBody Gets the body part that is unique to the conversation this item is part of.
(Унаследован от Item)
VotingInformation Gets the VotingInformation property of the e-mail message.
WebClientEditFormQueryString Gets the query string that should be appended to the Exchange Web client URL to open this item using the appropriate edit form in a web browser.
(Унаследован от Item)
WebClientReadFormQueryString Gets the query string that should be appended to the Exchange Web client URL to open this item using the appropriate read form in a web browser.
(Унаследован от Item)

Методы

Bind(ExchangeService, ItemId) Binds to an existing e-mail message and loads its first class properties. Calling this method results in a call to EWS.
Bind(ExchangeService, ItemId, PropertySet, CancellationToken) Binds to an existing e-mail message and loads the specified set of properties. Calling this method results in a call to EWS.
Copy(WellKnownFolderName) Creates a copy of this item in the specified folder. Calling this method results in a call to EWS.

Copy returns null if the copy operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
Copy(FolderId, CancellationToken) Creates a copy of this item in the specified folder. Calling this method results in a call to EWS.

Copy returns null if the copy operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
CreateForward Creates a forward response to the message.
CreateReply Creates a reply response to the message.
Delete(DeleteMode) Deletes the item. Calling this method results in a call to EWS.
(Унаследован от Item)
Delete(DeleteMode, Boolean, CancellationToken) Deletes the item. Calling this method results in a call to EWS.
(Унаследован от Item)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
Forward(MessageBody, IEnumerableEmailAddress) Forwards the message. Calling this method results in a call to EWS.
Forward(MessageBody, EmailAddress) Forwards the message. Calling this method results in a call to EWS.
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetLoadedPropertyDefinitions Gets the collection of loaded property definitions.
(Унаследован от ServiceObject)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
Load(CancellationToken) Loads the first class properties. Calling this method results in a call to EWS.
(Унаследован от ServiceObject)
Load(PropertySet, CancellationToken) Loads the specified set of properties. Calling this method results in a call to EWS.
(Унаследован от ServiceObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
Move(WellKnownFolderName) Moves this item to a the specified folder. Calling this method results in a call to EWS.

Move returns null if the move operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
Move(FolderId, CancellationToken) Moves this item to a the specified folder. Calling this method results in a call to EWS.

Move returns null if the move operation is across two mailboxes or between a mailbox and a public folder.


(Унаследован от Item)
RemoveExtendedProperty Removes an extended property.
(Унаследован от Item)
Reply Replies to the message. Calling this method results in a call to EWS.
Save(CancellationToken) Saves this item in the default folder based on the item's type (for example, an e-mail message is saved to the Drafts folder). Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.
(Унаследован от Item)
Save(FolderId, CancellationToken) Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.
(Унаследован от Item)
Save(WellKnownFolderName, CancellationToken) Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.
(Унаследован от Item)
Send Sends this e-mail message. Calling this method results in at least one call to EWS.
SendAndSaveCopy(CancellationToken) Sends this e-mail message and saves a copy of it in the Sent Items folder. SendAndSaveCopy does not work if the message has unsaved attachments. In that case, the message must first be saved and then sent. Calling this method results in a call to EWS.
SendAndSaveCopy(FolderId, CancellationToken) Sends this e-mail message and saves a copy of it in the specified folder. SendAndSaveCopy does not work if the message has unsaved attachments. In that case, the message must first be saved and then sent. Calling this method results in a call to EWS.
SendAndSaveCopy(WellKnownFolderName, CancellationToken) Sends this e-mail message and saves a copy of it in the specified folder. SendAndSaveCopy does not work if the message has unsaved attachments. In that case, the message must first be saved and then sent. Calling this method results in a call to EWS.
SetExtendedProperty Sets the extended property.
(Унаследован от Item)
SuppressReadReceipt Suppresses the read receipt on the message. Calling this method results in a call to EWS.
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TryGetProperty(PropertyDefinitionBase, Object) Try to get the value of a specified property in this instance.
(Унаследован от ServiceObject)
TryGetPropertyT(PropertyDefinitionBase, T) Try to get the value of a specified property in this instance.
(Унаследован от ServiceObject)
Update(ConflictResolutionMode, CancellationToken) Applies the local changes that have been made to this item. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed.
(Унаследован от Item)
Update(ConflictResolutionMode, Boolean, CancellationToken) Applies the local changes that have been made to this item. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed.
(Унаследован от Item)

Методы расширения

Get
(Определяется ComHelper)
InternalMarkerCanvas Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также