Click or drag to resize
SubscriberInfoProviderUnsubscribe Method (Int32, Int32, Boolean)
Unsubscribe the subscriber from the newsletter.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
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