Export (0) Print
Expand All

E-mail (email) Entity Capabilities

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

This entity represents an activity that is delivered using e-mail protocols.

The following illustration shows the entity relationships for this area. For more information, see Key to Entity Diagrams.

E-mail entity model

The class for this entity is email. For the e-mail entity, you can use the messages listed in the following table with the Execute method.

MessageDescription
BackgroundSendEmailUse this message to send an e-mail asynchronously.
CheckIncomingEmailUse this message to check whether the incoming e-mail message is relevant to the Microsoft Dynamics CRM system.
CheckPromoteEmailUse this message to check whether the incoming e-mail message should be promoted to the Microsoft Dynamics CRM system.
CreateUse this message to create an e-mail.

The information that is used to create the entity instance is specified in the TargetCreateEmail class.

You can also call the Create method.

DeleteUse this message to delete an e-mail.

The entity instance to delete is specified in the TargetDeleteEmail class.

You can also call the Delete method.

DeliverIncomingEmailUse this message to route the e-mail to the appropriate set of system users or contacts.
DeliverPromoteEmailUse this message to create an e-mail activity instance from the specified e-mail message.
DetachFromQueueEmailUse this message to detach the e-mail from the specified queue.
HandleUse this message to handle an e-mail that is in a queue.

The entity instance to retrieve is specified in the TargetQueuedEmail class.

ProcessInboundEmailUse this message to process marketing campaign e-mail responses.
RetrieveUse this message to retrieve an e-mail.

The entity instance to retrieve is specified in the TargetRetrieveEmail class.

You can also call the Retrieve method.

RetrieveMultipleUse this message to retrieve a collection of e-mails.

The query expression that describes the entity instances to retrieve is specified in the Query property of this request.

You can also call the RetrieveMultiple method.

RetrievePrincipalAccessUse this message to retrieve the access that the specified security principal (user or team) has to an e-mail.

The entity instance to retrieve is specified in the TargetOwnedEmail class.

RouteUse this message to route an e-mail to a queue.

The entity instance to retrieve is specified in the TargetQueuedEmail class.

SendEmailUse this message to send an e-mail.
SetStateDynamicEntityUse this message to set the state of an e-mail using a DynamicEntity instance.

The possible states are defined in the EmailState enumeration.

SetStateEmailUse this message to set the state of an e-mail.

The possible states are defined in the EmailState enumeration.

UpdateUse this message to update an e-mail.

The entity instance to update is specified in the TargetUpdateEmail class.

You can also use the Update method.


See Also

Concepts

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft