---
title: setDefaultRecipientFilterEnabled
slug: campaign/docs/setdefaultrecipientfilterenabled
docTags: 
createdAt: 2026-07-02T19:01:46.338Z
---

The default target group can be configured for a client and is used for every mailing unless it is disabled.

**Type**: void

**Parameters**

| Name      | Type    | Value                                                                                  |
| --------- | ------- | -------------------------------------------------------------------------------------- |
| sessionId | String  | ID of the session                                                                      |
| mailingId | long    | ID of the mailing                                                                      |
| enabled   | boolean | TRUE: Activates the default target group; FALSE: Deactivates the default target group. |

**Return values**: -

**Code structure**

```javascript
void setDefaultRecipientFilterEnabled(String sessionId, long mailingId, boolean enabled)
```
