Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In


Counts the recipients to whom a mailing was successfully sent in Optimizely Campaign.

Type: int


sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of recipients to whom the mailing was successfully sent

Returns 0 if a mailing has not been started yet.

Code structure

int getSentRecipientCount(String sessionId, long mailingId)

What’s Next