ISubscriptionService.UnsubscribeFromAllNewsletters Method |
Unsubscribes the email from all newsletters.
SubscriberUnsubscribes event is invoked after unsubscribing.
Binding in the newsletter-subscription table will stay.
Email will be added into the unsubscription list.
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: System.String
Email address - issueID (Optional)
- Type: System.Nullable<Int32>
ID of issue that visitor used for unsubscription. Use only when issue ID is known.
Exceptions Exception | Condition |
---|
ArgumentException | Email is not specified |
See Also