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: 13.0.131
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