Skip to content

Create Email Template

sesv2_create_email_template R Documentation

Creates an email template

Description

Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Usage

sesv2_create_email_template(TemplateName, TemplateContent, Tags)

Arguments

TemplateName

[required] The name of the template.

TemplateContent

[required] The content of the email template, composed of a subject line, an HTML part, and a text-only part.

Tags

An array of objects that define the tags (keys and values) to associate with the email template.

Value

An empty list.

Request syntax

svc$create_email_template(
  TemplateName = "string",
  TemplateContent = list(
    Subject = "string",
    Text = "string",
    Html = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)