AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmailV2.Model.Template

Namespace: Amazon.SimpleEmailV2.Model
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z

Syntax

C#
public class Template

The Template type exposes the following members

Constructors

NameDescription
Public Method Template()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property TemplateArn System.String

Gets and sets the property TemplateArn.

The Amazon Resource Name (ARN) of the template.

Public Property 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 SendEmail or SendBulkEmail operations and you provide the full template content in the request.

Public Property 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.

Public Property 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 SendEmail or SendBulkEmail operations.

Version Information

.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