SubscriberInfoProvider UnsubscribeFromNewsletters Method (String, List Int32 , Int32, Boolean, Guid, Hashtable)Kentico 8.0 API Reference
Unsubscribe subscribers from specified newsletters.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

importString
Type: OnlineSystem String
String representation of subscribers in format 'email;firstName;lastName'
newsletterIds
Type: OnlineSystem.Collections.Generic List OnlineInt32 
Array list with newsletter IDs where should be the subscribers removed from
siteId
Type: OnlineSystem Int32
Site ID
sendEmail
Type: OnlineSystem Boolean
Indicates if confirmation e-mail should be sent
processGuid (Optional)
Type: OnlineSystem Guid
Asynchronous process Guid
errors (Optional)
Type: OnlineSystem.Collections Hashtable
Hashtable with errors for asynchronous process

Return Value

Type: OnlineList OnlineString 
See Also