ISESV2GetEmailTemplateResponse
Interface in AWS.SESV2
Interface for GetEmailTemplate responses.
Ancestors
Properties
TemplateContent
property TemplateContent: ISESV2EmailTemplateContent
Type: ISESV2EmailTemplateContent
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
This object contains the actual template content that defines the structure and content of emails sent using this template. It includes the subject line, HTML body, and plain text body. The template content supports variable substitution using replacement tags, allowing you to personalize emails with dynamic content when sending templated messages through Amazon SES. At least one of the content parts (subject, HTML, or text) must be present for a valid template, though it's recommended to provide both HTML and text versions for better email client compatibility.
TemplateName
property TemplateName: string
The name of the template.
This property returns the exact name of the template that was retrieved, confirming the template identity for the returned content. The template name is case-sensitive and matches the name specified in the original request. This confirmation is useful when working with multiple templates or when the template name is dynamically determined. This name can be used in subsequent operations such as UpdateEmailTemplate, DeleteEmailTemplate, or when sending emails using SendEmail with template content.