Click or drag to resize
SubscriberNewsletterInfoProviderAddSubscriberToNewsletterInternal Method

Note: This API is now obsolete.

Adds specified subscriber to the newsletter.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use Add(int, int, System.DateTime, bool) instead.")]
protected virtual void AddSubscriberToNewsletterInternal(
	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