<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MessageUI",
  "identifier" : "/documentation/MessageUI/MFMailComposeResult",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Message UI"
    ],
    "preciseIdentifier" : "c:@E@MFMailComposeResult"
  },
  "title" : "MFMailComposeResult"
}
-->

# MFMailComposeResult

Result codes returned when the mail composition interface is dismissed.

```
enum MFMailComposeResult
```

## Topics

### Constants

[`MFMailComposeResultCancelled`](/documentation/MessageUI/MFMailComposeResult/cancelled)

The user canceled the operation.

[`MFMailComposeResultSaved`](/documentation/MessageUI/MFMailComposeResult/saved)

The email message was saved in the user’s drafts folder.

[`MFMailComposeResultSent`](/documentation/MessageUI/MFMailComposeResult/sent)

The email message was queued in the user’s outbox.

[`MFMailComposeResultFailed`](/documentation/MessageUI/MFMailComposeResult/failed)

The email message was not saved or queued, possibly due to an error.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)