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

# encodedMessage

A signed or encrypted message, if the message security handler needs to encode the message.

```
@NSCopying var encodedMessage: MEEncodedOutgoingMessage? { get }
```

## Discussion

If the message security handler doesn’t need to apply security measures to the outgoing message, the value of this property is `nil`.

---

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)