Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In


Counts the recipients that will receive a mailing once it is started in Optimizely Campaign.

The mailing must be of type regular.

Type: int


sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of recipients that will receive the mailing once it is started

Code structure

int getPredictedRecipientCount(String sessionId, long mailingId)

What’s Next