Interface CfnCampaign.ICampaignEmailMessageProperty
Specifies the content and "From" address for an email message that's sent to recipients of a campaign.
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICampaignEmailMessageProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Body
The body of the email for recipients whose email clients don't render HTML content.
virtual string Body { get; }
Property Value
System.String
Remarks
FromAddress
The verified email address to send the email from.
virtual string FromAddress { get; }
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.
virtual string HtmlBody { get; }
Property Value
System.String
Remarks
Title
The subject line, or title, of the email.
virtual string Title { get; }
Property Value
System.String