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

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

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