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

# headers

A dictionary that contains the message’s header values.

## Declaration

```swift
var headers: [String : [String]]? { get }
```

## Discussion

Discussion If MailKit hasn’t downloaded the full message, this dictionary may only contain a subset of the message’s headers.

## See Also

### Accessing Message Content

- [rawData](mailkit/memessage/rawdata.md)
