SubscriberInfoProviderUnsubscribe Method (Guid, Guid, Int32, Boolean) |
Unsubscribes subscriber from newsletter.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax public static void Unsubscribe(
Guid subscriberGuid,
Guid newsletterGuid,
int siteId,
bool sendConfirmationEmail = true
)
Parameters
- subscriberGuid
- Type: SystemGuid
Subscriber GUID - newsletterGuid
- Type: SystemGuid
Newsletter GUID - siteId
- Type: SystemInt32
Site ID - sendConfirmationEmail (Optional)
- Type: SystemBoolean
Indicates whether send confirmation mail
See Also