---
title: MEMessage
framework: mailkit
role: symbol
role_heading: Class
path: mailkit/memessage
---

# MEMessage

An object that contains information about a mail message, such as the subject, addressees, date sent, and the message contents.

## Declaration

```swift
class MEMessage
```

## Topics

### Accessing the Sender and Recipients

- [fromAddress](mailkit/memessage/fromaddress.md)
- [toAddresses](mailkit/memessage/toaddresses.md)
- [ccAddresses](mailkit/memessage/ccaddresses.md)
- [bccAddresses](mailkit/memessage/bccaddresses.md)
- [replyToAddresses](mailkit/memessage/replytoaddresses.md)
- [allRecipientAddresses](mailkit/memessage/allrecipientaddresses.md)

### Accessing the Message Subject

- [subject](mailkit/memessage/subject.md)

### Accessing Message Content

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

### Accessing Message State

- [state](mailkit/memessage/state.md)

### Instance Properties

- [encryptionState](mailkit/memessage/encryptionstate.md)

### Initializers

- [init(coder:)](mailkit/memessage/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Message Properties

- [MEMessageState](mailkit/memessagestate.md)
