Click or drag to resize
NewsletterHelperGetEmailAddressCount Method
Returns number of recipients subscribed for specified newsletter. Takes unsubscription and bounces into account (see GetMarketableRecipients).

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax
C#
public static int GetEmailAddressCount(
	IssueInfo issue
)

Parameters

issue
Type: CMS.NewslettersIssueInfo
Count is calculated for this issue

Return Value

Type: Int32
Total amount of emails subscribed to the given issue without the unsubscribed ones.
Exceptions
ExceptionCondition
ArgumentNullExceptionissue is null
See Also