IUnsubscriptionProviderUnsubscribeFromAllNewsletters Method |
Unsubscribes email address from all newsletters. Does nothing if specified email is already unsubscribed.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax void UnsubscribeFromAllNewsletters(
string email,
Nullable<int> issueID = null
)
Parameters
- email
- Type: SystemString
Email to unsubscribe - issueID (Optional)
- Type: SystemNullableInt32
ID of issue that visitor used for unsubscription. Use only when issue ID is known.
See Also