Click or drag to resize
IUnsubscriptionProviderUnsubscribeFromSingleNewsletter Method
Unsubscribes email address from given newsletter. Does nothing if specified email is already unsubscribed.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
void UnsubscribeFromSingleNewsletter(
	string email,
	int newsletterID,
	Nullable<int> issueID = null
)

Parameters

email
Type: SystemString
Email to unsubscribe
newsletterID
Type: SystemInt32
Newsletter ID
issueID (Optional)
Type: SystemNullableInt32
ID of issue that visitor used for unsubscription. Use only when issue ID is known.
See Also