Click or drag to resize
IIssueUrlServiceCreateActivationUrl Method
Creates activation URL for the newsletter opt-in feature.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax
C#
string CreateActivationUrl(
	NewsletterInfo newsletter,
	SubscriberInfo subscriber,
	SubscriberNewsletterInfo subscription
)

Parameters

newsletter
Type: CMS.NewslettersNewsletterInfo
Newsletter.
subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber.
subscription
Type: CMS.NewslettersSubscriberNewsletterInfo
Subscription.

Return Value

Type: String
Activation URL for given newsletter and subscriber.
Remarks
When the activation URL is created, the hash used for the activation URL is stored to the related subscription.
See Also