Click or drag to resize
EmailTemplateProviderDeleteEmailTemplate Method (String, String)

Note: This API is now obsolete.

Deletes e-mail template given by template name and site name.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IEmailTemplateInfoProvider.Delete(EmailTemplateInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - EmailTemplateInfo.Provider.")]
public static void DeleteEmailTemplate(
	string templateName,
	string siteName
)

Parameters

templateName
Type: SystemString
Template name
siteName
Type: SystemString
Site name
See Also