Skip to content

Test Render Template

ses_test_render_template R Documentation

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data

Description

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

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

Usage

ses_test_render_template(TemplateName, TemplateData)

Arguments

TemplateName

[required] The name of the template to render.

TemplateData

[required] A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.

Value

A list with the following syntax:

list(
  RenderedTemplate = "string"
)

Request syntax

svc$test_render_template(
  TemplateName = "string",
  TemplateData = "string"
)