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 CfnCampaign.ICampaignEmailMessageProperty
Syntax (vb)
Public Interface 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
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.
string? Body { get; }
Property Value
Remarks
FromAddress
The verified email address to send the email from.
string? FromAddress { get; }
Property Value
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.
string? HtmlBody { get; }
Property Value
Remarks
Title
The subject line, or title, of the email.
string? Title { get; }