Click or drag to resize
ISubscriptionServiceIsUnsubscribed Method
Returns true if specified email address is unsubscribed from newsletter on given site. Is affected by NewslettersConfiguration, setting "CMSNewsletterUseSiteSpecificUnsubscriptions".

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

Parameters

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

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentExceptionEmail is not specified
See Also