Click or drag to resize
SubscriberInfoProviderUnsubscribe Method (SubscriberNewsletterInfo, Boolean)
Unsubscribes subscriber from newsletter.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public static void Unsubscribe(
	SubscriberNewsletterInfo sni,
	bool sendConfirmationEmail
)

Parameters

sni
Type: CMS.NewslettersSubscriberNewsletterInfo
Subscription object
sendConfirmationEmail
Type: SystemBoolean
Indicates if confirmation e-mail should be sent
See Also