SubscriberInfoProviderSubscribe Method (Guid, Int32, Int32, Boolean) |
Subscribes subscriber to newsletter.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax public static void Subscribe(
Guid subscriberGuid,
int newsletterId,
int siteId,
bool sendConfirmationEmail = true
)
Parameters
- subscriberGuid
- Type: SystemGuid
Subscriber GUID - newsletterId
- Type: SystemInt32
Newsletter ID - siteId
- Type: SystemInt32
Site ID - sendConfirmationEmail (Optional)
- Type: SystemBoolean
Indicates whether send confirmation e-mail
See Also