AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to reuse in email messages that you send. You can specifiy the email template by providing the name or ARN of an email template previously saved in your Amazon SES account or by providing the full template content.
Namespace: Amazon.SimpleEmailV2.Model
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z
public class Template
The Template type exposes the following members
Name | Description | |
---|---|---|
![]() |
Template() |
Name | Type | Description | |
---|---|---|---|
![]() |
Attachments | System.Collections.Generic.List<Amazon.SimpleEmailV2.Model.Attachment> |
Gets and sets the property Attachments. The List of attachments to include in your email. All recipients will receive the same attachments. |
![]() |
Headers | System.Collections.Generic.List<Amazon.SimpleEmailV2.Model.MessageHeader> |
Gets and sets the property Headers. The list of message headers that will be added to the email message. |
![]() |
TemplateArn | System.String |
Gets and sets the property TemplateArn. The Amazon Resource Name (ARN) of the template. |
![]() |
TemplateContent | Amazon.SimpleEmailV2.Model.EmailTemplateContent |
Gets and sets the property TemplateContent. The content of the template.
Amazon SES supports only simple substitions when you send email using the |
![]() |
TemplateData | System.String |
Gets and sets the property TemplateData. An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable. |
![]() |
TemplateName | System.String |
Gets and sets the property TemplateName.
The name of the template. You will refer to this name when you send email using the
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5