NewsletterHelperGetNewsletterMarketableRecipientsCount Method |
Returns number of recipients subscribed for specified newsletter. Takes unsubscription table in account.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax public static int GetNewsletterMarketableRecipientsCount(
NewsletterInfo newsletter
)
Parameters
- newsletter
- Type: CMS.NewslettersNewsletterInfo
Newsletter.
Return Value
Type:
Int32Exceptions Exception | Condition |
---|
ArgumentNullException | Is thrown when parameter newsletter is null. |
ArgumentException | Is thrown when parameter newsletter is not type of Newsletter. |
Remarks See Also