SendEmailMessageByEmailRequest Class

 

Applies To: Dynamics Marketing

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

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.SendEmailMessageByEmailRequest

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod SendEmailMessageByEmailRequest()

Initializes a new instance of the SendEmailMessageByEmailRequest 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 RecipientEmailAddress

Gets or sets the email address of the recipient.

System_CAPS_pubproperty SenderId

Gets or sets the GUID of the sender 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

If the email address for the recipient isn’t already in the system as a contact’s email address, a new contact is created with the email address. For information about how this affects new contacts, see the “Avoid creating duplicate contacts” section in the Site configuration and integration settings topic.

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

SendEmailMessageByEmailResponse
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