Send issues
To send an issue, you must use the NewslettersManager
class. It exposes SendIssue
method that will send issue through the Notification service API. The following code sends an issue through the Native API:
Figure 1: Sends issue through NewslettersManager
First, you initialize tooManySubscribers
variable.Then you get an instance of the NewslettersManager
. Then, you call SendIssue
to send the campaign passing the issueId
and tooManySubscribers
. Finally, you check whether the tooManySubscribers
parameter is true
in order to handle license limitation hole.
NOTE: Each Sitefinity CMS license have different number of subscribers. If the total count of subscribers exceeds the limit - the issue would not be send. You need to handle this situation. See Pricing and Licensing information.