Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

getPredictedRecipientCount

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

The mailing must be of type regular.

Type: int

Parameters

NameTypeValue
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)