Click or drag to resize
ForumSubscriptionInfoProviderSubscribe Method
Subscribe method intend to subscribe user to forum/forum post and send confirmation/opt-in email

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntax
C#
public static void Subscribe(
	ForumSubscriptionInfo fsi,
	DateTime when,
	bool sendConfirmationEmail,
	bool sendOptInEmail
)

Parameters

fsi
Type: CMS.ForumsForumSubscriptionInfo
Subscription to be saved
when
Type: SystemDateTime
Time of subscription
sendConfirmationEmail
Type: SystemBoolean
Indicates if confirmation email should be send
sendOptInEmail
Type: SystemBoolean
Indicates if opt-in email should be send
See Also