Condividi tramite


DeliverIncomingEmailRequest Class

Definition

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

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

Remarks

For the Web API use the DeliverIncomingEmail action.

Usage

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

Privileges and Access Rights

For a complete list of the privileges required, see DeliverIncomingEmail message privileges.

Constructors

DeliverIncomingEmailRequest()

Initializes a new instance of the DeliverIncomingEmailRequest class.

Properties

Attachments

Gets or sets a collection of activity mime attachment (email attachment) instances 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.

ExtensionData

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

(Inherited from OrganizationRequest)
ExtraProperties

For internal use only.

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.

ValidateBeforeCreate

Gets or sets whether to validate before the create operation occurs.

Applies to

See also