---
title: getFromName
slug: campaign/docs/getfromname
docTags: 
createdAt: 2026-07-02T19:01:46.737Z
---

**Type**: String

**Parameters**

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

**Return values**

Name of the sender of the mailing

**Code structure**

```javascript
String getFromName(String sessionId, long mailingId)
```
