EmailTemplateProviderGetEmailTemplate Method (String, String) |
Returns e-mail template given by template name and site name (or just template name for global templates).
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 12.0.0
Syntax 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:
EmailTemplateInfoSee Also