Click or drag to resize
EmailTemplateInfoProviderGetAllDoubleOptInTemplates Method

Note: This API is now obsolete.

Returns dataset with all double opt-in templates.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IEmailTemplateInfoProvider.Get().WhereEquals("TemplateType", "D").WhereEquals("TemplateSiteID", siteId) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - EmailTemplateInfo.Provider.")]
public static InfoDataSet<EmailTemplateInfo> GetAllDoubleOptInTemplates(
	int siteId
)

Parameters

siteId
Type: SystemInt32
ID of a site

Return Value

Type: InfoDataSetEmailTemplateInfo
DataSet with double opt-in templates
See Also