共用方式為


DeliverPromoteEmailRequest Class

Definition

Contains the data that is needed to create an email activity record from the specified email message (Track in CRM).

public ref class DeliverPromoteEmailRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class DeliverPromoteEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type DeliverPromoteEmailRequest = class
    inherit OrganizationRequest
Public NotInheritable Class DeliverPromoteEmailRequest
Inherits OrganizationRequest
Inheritance
DeliverPromoteEmailRequest
Attributes

Examples

The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface instance. For the complete sample, see the link later in this topic.

Remarks

For the Web API use the DeliverPromoteEmail action.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of DeliverPromoteEmailResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges on the activity entity. For a complete list of the privileges required, see DeliverPromoteEmail message privileges.

Notes for Callers

This method is used by Microsoft Dynamics 365 for Outlook.

Constructors

DeliverPromoteEmailRequest()

Initializes a new instance of the DeliverPromoteEmailRequest class.

Properties

Attachments

Gets or sets a collection of activity mime attachment (email attachment) records to attach to the email message. Required.

Bcc

Gets or sets the addresses of the blind carbon copy (Bcc) recipients for the email message. Required.

Body

Gets or sets the message body for the email. Required.

Cc

Gets or sets the addresses of the carbon copy (Cc) recipients for the email message. Required.

EmailId

Gets or sets the ID of the email from which to create the email. Required.

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
ExtraProperties

Gets or sets the extra properties for the email. Optional.

From

Gets or sets the from address for the email message. Required.

Importance

Gets or sets the level of importance for the email message. Required.

Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
MessageId

Gets or sets the ID of the email message stored in the email header. Required.

Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
ReceivedOn

Gets or sets the time the message was received on. Required.

RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Subject

Gets or sets the subject line for the email message. Optional.

SubmittedBy

Gets or sets the email address of the account that is creating the email activity instance. Required.

To

Gets or sets the addresses of the recipients of the email message. Required.

Applies to

See also