Newer Version Available

This content describes an older version of this product. View Latest

EmailTemplate

Represents an email template.

This object is available in API version 32.0 and later.

Supported SOAP Calls

create(), getDeleted(), getUpdated(), query(), retrieve(), search()

Supported REST HTTP Methods

DELETE, GET, PATCH, POST

Fields

Field Details
ApiVersion
Type
double
Properties
Filter, Nillable, Sort
Description
The API version if this is a Visualforce email template. Every Visualforce email template has an API version specified at creation.
Description
Type
string
Properties
Filter, Nillable, Sort
Description
The email template description. This can be useful to describe the reason for creating the template or its intended use.
FullName
Type
string
Properties
Create, Group, Nillable
Description
The unique name used as the template identifier for API access. The fullName can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
Metadata
Type
EmailTemplateMetadata
Properties
Create, Nillable, Update
Description
Email template metadata.
Name
Type
string
Properties
Filter, Group, idLookup, Sort
Description
The email template name.
NamespacePrefix
Type
string
Properties
Filter, Group, Nillable, Sort
Description
A unique string to distinguish this template from any others. For example, if this template is being using by a flow, use the NamespacePrefix to uniquely identify the templates in multiple flow instances.
Subject
Type
string
Properties
Group, Nillable, Sort
Description
The email subject.