---
title: subject
framework: mailkit
role: symbol
role_heading: Instance Property
path: mailkit/memessage/subject
---

# subject

The subject of the message.

## Declaration

```swift
var subject: String { get }
```

## Discussion

Discussion This property corresponds to the Subject header in the message.
