Structure

MFMailComposeError

Mail composition errors.

Declaration

struct MFMailComposeError

Topics

Errors

static var errorDomain: String

The domain for errors related to mail composition.

static var saveFailed: MFMailComposeError.Code

An error occurred while trying to save the email message to the drafts folder.

static var sendFailed: MFMailComposeError.Code

An error occurred while trying to queue or send the email message.

Operator Functions

static func != (MFMailComposeError, MFMailComposeError) -> Bool

Returns a Boolean value that indicates whether two values are not equal.

See Also

Responding to Errors

let MFMailComposeErrorDomain: String

The domain used for error objects that are associated with the mail composition interface.

enum MFMailComposeError.Code

Error codes for NSError objects that are associated with the mail composition interface.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software