SubscriberInfoProvider.Unsubscribe Method (Guid, Guid, Int32, Boolean) |
Unsubscribes subscriber from newsletter.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntaxpublic static void Unsubscribe(
Guid subscriberGuid,
Guid newsletterGuid,
int siteId,
bool sendConfirmationEmail = true
)
Parameters
- subscriberGuid
- Type: System.Guid
Subscriber GUID - newsletterGuid
- Type: System.Guid
Newsletter GUID - siteId
- Type: System.Int32
Site ID - sendConfirmationEmail (Optional)
- Type: System.Boolean
Indicates whether send confirmation mail
See Also