Click or drag to resize
IUnsubscriptionProviderUnsubscribeFromAllNewsletters Method
Unsubscribes email address from all newsletters. Does nothing if specified email is already unsubscribed.

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

Parameters

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