---
title: isMaxRecipientsPercentage
slug: campaign/dev-docs/ismaxrecipientspercentage
createdAt: 2026-08-06T15:53:55.280Z
---

This method depends on the methods [setMaxRecipientsPercentage](https://docs.optimizely.com/campaign/dev-docs/setmaxrecipientspercentage) and [setMaxRecipients](https://docs.optimizely.com/campaign/dev-docs/setmaxrecipients).

**Type**: boolean

**Parameters**

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

**Return values**

- true: The option **Maximum number of recipients** has been set as a percentaged value.
- false: The option **Maximum number of recipients** has not been set as a percentaged value.

**Code structure**

```javascript
boolean isMaxRecipientsPercentage(String sessionId, long mailingId)
```
