SendEmailMessageByIdRequest Class

 

Applies To: Dynamics Marketing

Contains the data that’s needed to send an email marketing message using the recipient's contact ID.

Namespace:   Microsoft.Dynamics.Marketing.SDK.Messages.EmailMessage
Assembly:  Microsoft.Dynamics.Marketing.SDK (in Microsoft.Dynamics.Marketing.SDK.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Marketing.SDK.Common.SdkMessage
    Microsoft.Dynamics.Marketing.SDK.Common.SdkRequest
      Microsoft.Dynamics.Marketing.SDK.Messages.EmailMessage.SendEmailMessageByIdRequest

Syntax

[DataContractAttribute]
public class SendEmailMessageByIdRequest : SdkRequest
[DataContractAttribute]
public ref class SendEmailMessageByIdRequest : SdkRequest
[<DataContractAttribute>]
type SendEmailMessageByIdRequest = 
    class
        inherit SdkRequest
    end
<DataContractAttribute>
Public Class SendEmailMessageByIdRequest
    Inherits SdkRequest

Constructors

Name Description
System_CAPS_pubmethod SendEmailMessageByIdRequest()

Initializes a new instance of the SendEmailMessageByIdRequest class.

Properties

Name Description
System_CAPS_pubproperty EmailMessageId

Gets or sets the email message ID in Microsoft Dynamics Marketing.

System_CAPS_pubproperty Importance

Gets or sets the priority of the email message.

System_CAPS_pubproperty MessageData

Gets or sets the XML data for the email message's dynamic content.

System_CAPS_pubproperty RecipientId

Gets or sets the email message recipient ID in Microsoft Dynamics Marketing or Microsoft Dynamics CRM.

System_CAPS_pubproperty SenderId

Gets or sets the email message sender ID in Microsoft Dynamics Marketing or Microsoft Dynamics CRM.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod ToBrokeredMessage()

Creates a new brokered message with the compressed and serialized SdkMessage.(Inherited from SdkMessage.)

System_CAPS_pubmethod ToBrokeredMessage(String)

Creates a new brokered message with the compressed and serialized SdkMessage.(Inherited from SdkRequest.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The recipient’s contact identifier can be found on the Home > Marketing Execution > Marketing Database > Marketing Contacts by clicking the Customize column icon and selecting External ID from the list.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

SendEmailMessageByIdResponse
Microsoft.Dynamics.Marketing.SDK.Messages.EmailMessage Namespace
Developer overview of Microsoft Dynamics Marketing
Manage lists and send transactional or commercial email
Getting started with the SDK
Quick start with sample code
Sample: Manage lists and send transactional or commercial email
Assembly included in the Microsoft Dynamics Marketing SDK
Web service and assembly reference

Return to top