<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MailKit",
  "identifier" : "/documentation/MailKit/MEMessage",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MailKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MEMessage"
  },
  "title" : "MEMessage"
}
-->

# MEMessage

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

```
class MEMessage
```

## Topics

### Accessing the Sender and Recipients

[`fromAddress`](/documentation/MailKit/MEMessage/fromAddress)

The sender’s email address.

[`toAddresses`](/documentation/MailKit/MEMessage/toAddresses)

An array of email addresses for the primary recipients of the message.

[`ccAddresses`](/documentation/MailKit/MEMessage/ccAddresses)

An array of email addresses for the secondary recipients of the message.

[`bccAddresses`](/documentation/MailKit/MEMessage/bccAddresses)

An array of email addresses for the concealed tertiary recipients of the message.

[`replyToAddresses`](/documentation/MailKit/MEMessage/replyToAddresses)

An array of email addresses to use when replying to the message.

[`allRecipientAddresses`](/documentation/MailKit/MEMessage/allRecipientAddresses)

An array of email addresses for all recipients of the message.

### Accessing the Message Subject

[`subject`](/documentation/MailKit/MEMessage/subject)

The subject of the message.

### Accessing the Sent and Received Dates

[`dateSent`](/documentation/MailKit/MEMessage/dateSent)

The date the sender sent the message.

[`dateReceived`](/documentation/MailKit/MEMessage/dateReceived)

The date that the recipient received the message.

### Accessing Message Content

[`headers`](/documentation/MailKit/MEMessage/headers)

A dictionary that contains the message’s header values.

[`rawData`](/documentation/MailKit/MEMessage/rawData)

The raw RFC 2822 header and body content of the message.

### Accessing Message State

[`state`](/documentation/MailKit/MEMessage/state)

The state of the mail message.

### Instance Properties

[`encryptionState`](/documentation/MailKit/MEMessage/encryptionState)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)