---
title: getSendingStartedDate
slug: campaign/docs/getsendingstarteddate
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

If the mailing was not started yet, an exception is thrown.

**Type**: Date

**Parameters**

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

**Return values**

Time at which the mailing was started

**Code structure**

```javascript
Date getSendingStartedDate(String sessionId, long mailingId)
```
