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

getFailedRecipientCount

Counts the recipients that have been skipped during dispatch in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of skipped recipients during dispatch.

This is the previously-calculated number of recipients minus the number of actual recipients. A significant number of skipped recipients indicates a serious configuration problem with the mailing. Returns 0 if a mailing has not been started yet.

Code structure

int getFailedRecipientCount(String sessionId, long mailingId)