Class CfnCampaign.CampaignEmailMessageProperty
Specifies the content and "From" address for an email message that's sent to recipients of a campaign.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CampaignEmailMessageProperty : Object, CfnCampaign.ICampaignEmailMessageProperty
Syntax (vb)
Public Class CampaignEmailMessageProperty
Inherits Object
Implements CfnCampaign.ICampaignEmailMessageProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var campaignEmailMessageProperty = new CampaignEmailMessageProperty {
Body = "body",
FromAddress = "fromAddress",
HtmlBody = "htmlBody",
Title = "title"
};
Synopsis
Constructors
CampaignEmailMessageProperty() |
Properties
Body | The body of the email for recipients whose email clients don't render HTML content. |
FromAddress | The verified email address to send the email from. |
HtmlBody | The body of the email, in HTML format, for recipients whose email clients render HTML content. |
Title | The subject line, or title, of the email. |
Constructors
CampaignEmailMessageProperty()
public CampaignEmailMessageProperty()
Properties
Body
The body of the email for recipients whose email clients don't render HTML content.
public string Body { get; set; }
Property Value
System.String
Remarks
FromAddress
The verified email address to send the email from.
public string FromAddress { get; set; }
Property Value
System.String
Remarks
The default address is the FromAddress
specified for the email channel for the application.
HtmlBody
The body of the email, in HTML format, for recipients whose email clients render HTML content.
public string HtmlBody { get; set; }
Property Value
System.String
Remarks
Title
The subject line, or title, of the email.
public string Title { get; set; }
Property Value
System.String