Share via


EmailMessage Class

Definition

Message payload for sending an email

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.EmailMessageTypeConverter))]
public class EmailMessage : Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailMessage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.EmailMessageTypeConverter))>]
type EmailMessage = class
    interface IEmailMessage
    interface IJsonSerializable
Public Class EmailMessage
Implements IEmailMessage
Inheritance
EmailMessage
Attributes
Implements

Constructors

EmailMessage()

Creates an new EmailMessage instance.

Properties

Attachment

List of attachments. Please note that we limit the total size of an email request (which includes both regular and inline attachments) to 10MB.

ContentHtml

Html version of the email message.

ContentPlainText

Plain text version of the email message.

ContentSubject

Subject of the email message

Header

Custom email headers to be passed.

RecipientBcc

Email BCC recipients

RecipientCc

Email CC recipients

RecipientTo

Email To recipients

ReplyTo

Email addresses where recipients' replies will be sent to.

SenderAddress

Sender email address from a verified domain.

UserEngagementTrackingDisabled

Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EmailMessage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EmailMessage.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailMessage.

FromJsonString(String)

Creates a new instance of EmailMessage, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EmailMessage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to