SubscriberImporter ImportSubscribersToSite Method (String, List Int32 , Int32, Boolean, Boolean, Boolean, Boolean)Kentico 8.0 API Reference
Import subscribers.

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 imported subscribers
newsletterIds
Type: OnlineSystem.Collections.Generic List OnlineInt32 
Array list with newsletters' IDs where should be the subscribers added
siteId
Type: OnlineSystem Int32
Site ID
overwriteExisting
Type: OnlineSystem Boolean
If true, subscribers with the same email are overwritten
sendEmail
Type: OnlineSystem Boolean
Send confirmation email
doNotSubscribeExisting
Type: OnlineSystem Boolean
Indicates if existing users should not be subscribed
requireOptIn
Type: OnlineSystem Boolean
Indicates double opt-in is requested

Return Value

Type: OnlineList OnlineString 
See Also