Class: Aws::Pinpoint::Types::CampaignEmailMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::CampaignEmailMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass CampaignEmailMessage data as a hash:
{
body: "__string",
from_address: "__string",
html_body: "__string",
title: "__string",
}
Specifies the content and “From” address for an email message that’s sent to recipients of a campaign.
Instance Attribute Summary collapse
-
#body ⇒ String
The body of the email for recipients whose email clients don’t render HTML content.
-
#from_address ⇒ String
The verified email address to send the email from.
-
#html_body ⇒ String
The body of the email, in HTML format, for recipients whose email clients render HTML content.
-
#title ⇒ String
The subject line, or title, of the email.
Instance Attribute Details
#body ⇒ String
The body of the email for recipients whose email clients don’t render HTML content.
2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2378 class CampaignEmailMessage < Struct.new( :body, :from_address, :html_body, :title) include Aws::Structure end |
#from_address ⇒ String
The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.
2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2378 class CampaignEmailMessage < Struct.new( :body, :from_address, :html_body, :title) include Aws::Structure end |
#html_body ⇒ String
The body of the email, in HTML format, for recipients whose email clients render HTML content.
2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2378 class CampaignEmailMessage < Struct.new( :body, :from_address, :html_body, :title) include Aws::Structure end |
#title ⇒ String
The subject line, or title, of the email.
2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2378 class CampaignEmailMessage < Struct.new( :body, :from_address, :html_body, :title) include Aws::Structure end |