---
title: setName
slug: campaign/docs/setname-attachment
docTags: 
createdAt: 2026-07-02T19:01:46.338Z
---

**Type**: void

**Parameters**

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

**Return values**

- **Code structure**

```javascript
void setName(string sessionId, long mailingId, String name)
```
