Enumeration

MFMailComposeResult

Result codes returned when the mail composition interface is dismissed.

Declaration

enum MFMailComposeResult : Int

Topics

Constants

case cancelled

The user canceled the operation.

case saved

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

case sent

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

case failed

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

See Also

Responding to Email Completion

func mailComposeController(MFMailComposeViewController, didFinishWith: MFMailComposeResult, error: Error?)

Tells the delegate that the user wants to dismiss the mail composition view.