ISubscriptionServiceIsUnsubscribed Method |
Returns true if specified email address is unsubscribed from newsletter on given site.
Is affected by NewslettersConfiguration, setting "CMSNewsletterUseSiteSpecificUnsubscriptions".
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax 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:
BooleanExceptions See Also