<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MailKit",
  "identifier" : "/documentation/MailKit/MEComposeSessionError/invalidBody",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "MailKit"
    ],
    "preciseIdentifier" : "s:SC25MEComposeSessionErrorCodeLeV11invalidBodySoAAVvpZ"
  },
  "title" : "invalidBody"
}
-->

# invalidBody

An error that indicates the message’s body is invalid.

```
static var invalidBody: MEComposeSessionError.Code { 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)