---
title: getMimeType
slug: campaign/docs/getmimetype
docTags: 
createdAt: 2026-07-02T19:01:45.097Z
---

**Type**: String

**Parameters**

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

**Return values**

MIME type of the mailing

**Code structure**

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