SubscriberNewsletterInfoProviderAddSubscriberToNewsletter Method (Int32, Int32, DateTime, Boolean) |
Adds specified subscriber to the newsletter.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax public static void AddSubscriberToNewsletter(
int subscriberId,
int newsletterId,
DateTime when,
bool approved
)
Parameters
- subscriberId
- Type: SystemInt32
SubscriberID - newsletterId
- Type: SystemInt32
NewsletterID - when
- Type: SystemDateTime
Indication when subscription was created - approved
- Type: SystemBoolean
Subscription is approved
See Also