Click or drag to resize
SubscriberInfoProviderDeleteSubscription Method
Deletes subscription from the newsletter.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
public static void DeleteSubscription(
	int subscriberId,
	int newsletterId,
	bool sendConfirmationEmail
)

Parameters

subscriberId
Type: SystemInt32
Subscriber ID
newsletterId
Type: SystemInt32
Newsletter ID
sendConfirmationEmail
Type: SystemBoolean
Indicates if unsubscription email should be send
See Also