Click or drag to resize
ISubscriptionServiceIsUnsubscribed Method
Returns true if specified email address is unsubscribed from newsletter.

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

Parameters

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

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentExceptionEmail is not specified
Remarks
Takes global unsubscription into account.
See Also