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

# encryptionError

An error that indicates the security handler couldn’t decrypt the message.

```
var encryptionError: (any Error)? { get }
```

---

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)