SubscriberInfoProviderUnsubscribe Method (Int32, Int32, Boolean) |
Unsubscribe the subscriber from the newsletter.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax public static void Unsubscribe(
int subscriberId,
int newsletterId,
bool sendConfirmationEmail = true
)
Parameters
- subscriberId
- Type: SystemInt32
Subscriber ID - newsletterId
- Type: SystemInt32
Newsletter ID - sendConfirmationEmail (Optional)
- Type: SystemBoolean
Indicates whether confirmation email is sent
See Also