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

# MEComposeSession

An object that represents a single mail compose window.

```
class MEComposeSession
```

## Topics

### Managing Compose Sessions

[`sessionID`](/documentation/MailKit/MEComposeSession/sessionID)

A unique identifier for the session.

[`-  reloadSession`](/documentation/MailKit/MEComposeSession/reload())

Refreshes the compose session with the extension’s new information.

### Accessing Message Properties

[`mailMessage`](/documentation/MailKit/MEComposeSession/mailMessage)

The properties of the mail message, such as the subject and recipients.

### Instance Properties

[`composeContext`](/documentation/MailKit/MEComposeSession/composeContext)

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)