Click or drag to resize
EmailTemplateProviderGetEmailTemplate Method (String, Int32)
Returns e-mail template given by template name and site ID. Returns global e-mail template if site template was not found.

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

Parameters

templateName
Type: SystemString
Template name
siteId
Type: SystemInt32
Template site ID

Return Value

Type: EmailTemplateInfo
See Also