Class: Aws::Pinpoint::Types::EmailMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::EmailMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass EmailMessage data as a hash:
{
body: "__string",
feedback_forwarding_address: "__string",
from_address: "__string",
raw_email: {
data: "data",
},
reply_to_addresses: ["__string"],
simple_email: {
html_part: {
charset: "__string",
data: "__string",
},
subject: {
charset: "__string",
data: "__string",
},
text_part: {
charset: "__string",
data: "__string",
},
},
substitutions: {
"__string" => ["__string"],
},
}
Specifies the default settings and content for a one-time email message that’s sent directly to an endpoint.
Instance Attribute Summary collapse
-
#body ⇒ String
The body of the email message.
-
#feedback_forwarding_address ⇒ String
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
-
#from_address ⇒ String
The verified email address to send the email message from.
-
#raw_email ⇒ Types::RawEmail
The email message, represented as a raw MIME message.
-
#reply_to_addresses ⇒ Array<String>
The reply-to email address(es) for the email message.
-
#simple_email ⇒ Types::SimpleEmail
The email message, composed of a subject, a text part, and an HTML part.
-
#substitutions ⇒ Hash<String,Array<String>>
The default message variables to use in the email message.
Instance Attribute Details
#body ⇒ String
The body of the email message.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |
#feedback_forwarding_address ⇒ String
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |
#from_address ⇒ String
The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |
#raw_email ⇒ Types::RawEmail
The email message, represented as a raw MIME message.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |
#reply_to_addresses ⇒ Array<String>
The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |
#simple_email ⇒ Types::SimpleEmail
The email message, composed of a subject, a text part, and an HTML part.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |
#substitutions ⇒ Hash<String,Array<String>>
The default message variables to use in the email message. You can override the default variables with individual address variables.
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5793 class EmailMessage < Struct.new( :body, :feedback_forwarding_address, :from_address, :raw_email, :reply_to_addresses, :simple_email, :substitutions) include Aws::Structure end |