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.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax public static EmailTemplateInfo GetEmailTemplate(
string templateName,
int siteId
)
Parameters
- templateName
- Type: SystemString
Template name - siteId
- Type: SystemInt32
Template site ID
Return Value
Type:
EmailTemplateInfoSee Also