Click or drag to resize
EmailTemplateInfoProviderDeleteEmailTemplateInfo Method (EmailTemplateInfo)

Note: This API is now obsolete.

Deletes specified e-mail template.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.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 DeleteEmailTemplateInfo(
	EmailTemplateInfo emailTemplate
)

Parameters

emailTemplate
Type: CMS.NewslettersEmailTemplateInfo
Template object
See Also