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

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

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