BlogPostSubscriptionInfoProvider.Subscribe Method |
Subscribe method intend to subscribe user to blog post and send confirmation/opt-in email
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 10.0.0
Syntaxpublic static void Subscribe(
BlogPostSubscriptionInfo bpsi,
DateTime when,
bool sendConfirmationEmail,
bool sendOptInEmail
)
Parameters
- bpsi
- Type: CMS.Blogs.BlogPostSubscriptionInfo
Subscription to be saved - when
- Type: System.DateTime
Time of subscription - sendConfirmationEmail
- Type: System.Boolean
Indicates if confirmation email should be send - sendOptInEmail
- Type: System.Boolean
Indicates if opt-in email should be send
See Also