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.

The content of the email, composed of a subject line and either an HTML part or a text-only part.

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmail.Model.Template

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.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 HtmlPart System.String

Gets and sets the property HtmlPart.

The HTML body of the email.

Public Property SubjectPart System.String

Gets and sets the property SubjectPart.

The subject line of the email.

Public Property TemplateName System.String

Gets and sets the property TemplateName.

The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.

Public Property TextPart System.String

Gets and sets the property TextPart.

The email body that is visible to recipients whose email clients do not display HTML content.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5