---
title: getSentRecipientCount
slug: campaign/docs/getsentrecipientcount-mailingreporting
docTags: 
createdAt: 2026-07-02T19:01:46.338Z
---

**Type**: int

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |
| mailingId | long   | ID of the mailing |

**Return values**

Number of recipients to whom a mailing was successfully sent

Returns 0 if a mailing has not been started yet.

**Code structure**

```javascript
int getSentRecipientCount(String sessionId, long mailingId)
```
