SubscriberInfoProvider Subscribe Method (Int32, Int32, DateTime, Boolean, Boolean)Kentico 8.0 API Reference
Subscribes subscriber to newsletter.

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

Parameters

subscriberId
Type: OnlineSystem Int32
Subscriber ID
newsletterId
Type: OnlineSystem Int32
Newsletter ID
when
Type: OnlineSystem DateTime
Time when the subscriber was subscribed (used by import)
sendConfirmationEmail (Optional)
Type: OnlineSystem Boolean
Indicates whether send confirmation e-mail
sendOptInEmail (Optional)
Type: OnlineSystem Boolean
Indicates if double opt-in e-mail should be send
Exceptions

See Also