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

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax
C#
public static void Subscribe(
	BlogPostSubscriptionInfo bpsi,
	DateTime when,
	bool sendConfirmationEmail,
	bool sendOptInEmail
)

Parameters

bpsi
Type: CMS.BlogsBlogPostSubscriptionInfo
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