Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

getOverallRecipientCount

Counts the recipients to which a mailing was sent or tried to send in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of recipients to which a mailing was sent or tried to send

Returns 0 if a mailing has not been started yet.

Code structure

int getOverallRecipientCount(String sessionId, long mailingId)