Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getOverallRecipientCount

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

Consists of getSentRecipientCount and getFailedRecipientCount. See also: getOverallRecipientCount.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of recipients to whom the 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)