Click or drag to resize
IUnsubscriptionProviderGetUnsubscriptionsFromAllNewsletters Method
Returns query of all unsubscribed email addresses that won't receive any newsletter on given site. Is affected by UseSiteSpecificUnsubscriptions.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
ObjectQuery<UnsubscriptionInfo> GetUnsubscriptionsFromAllNewsletters(
	int siteID
)

Parameters

siteID
Type: SystemInt32
Site ID

Return Value

Type: ObjectQueryUnsubscriptionInfo
Remarks
When UseSiteSpecificUnsubscriptions is true, this method returns emails that are unsubscribed from all campaigns on site siteID. When UseSiteSpecificUnsubscriptions is false, this method returns emails that are unsubscribed from all campaigns on any site.
See Also