Click or drag to resize
EmailTemplateProviderGetEmailTemplate Method (String, String)
Returns e-mail template given by template name and site name (or just template name for global templates).

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
public static EmailTemplateInfo GetEmailTemplate(
	string templateName,
	string siteName
)

Parameters

templateName
Type: SystemString
Template name
siteName
Type: SystemString
Site name or null for global templates

Return Value

Type: EmailTemplateInfo
See Also