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, an HTML part, and a text-only part.

Inheritance Hierarchy


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


public class Template

The Template type exposes the following members


Public Method Template()


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 will refer to 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 will be visible to recipients whose email clients do not display HTML.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone