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: 9.0.0
Syntaxpublic 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