Click or drag to resize
IUnsubscriptionProviderIsUnsubscribedFromAllNewsletters Method
Returns true if specified email address is unsubscribed from the all newsletter on given site. Is affected by UseSiteSpecificUnsubscriptions.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
bool IsUnsubscribedFromAllNewsletters(
	string email,
	int siteID
)

Parameters

email
Type: SystemString
Email address
siteID
Type: SystemInt32
Site ID

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentExceptionemail is not specified
See Also