I'm working on a an app for a client that uses an MFMailComposeViewController.
I have written code that SHOULD detect an error in sending and display a localized message to the user that includes the localizedDescription from the NSError returned to the mailComposeController:didFinishWithResult:error: method.
I want to test error handling throughly.
Is it possible to set up mail on the simulator? (iOS 6.1 running under Xcode 4.6.3)
I'd like to test various invalid cases, and would prefer not to bugger the email accounts on my other devices.
I don't see a mail settings page in the settings panel. Oddly, I don't get an error when I try to send - it just sends and the outgoing mail seems to be dropped into the "bit bucket".
I have written code that SHOULD detect an error in sending and display a localized message to the user that includes the localizedDescription from the NSError returned to the mailComposeController:didFinishWithResult:error: method.
I want to test error handling throughly.
Is it possible to set up mail on the simulator? (iOS 6.1 running under Xcode 4.6.3)
I'd like to test various invalid cases, and would prefer not to bugger the email accounts on my other devices.
I don't see a mail settings page in the settings panel. Oddly, I don't get an error when I try to send - it just sends and the outgoing mail seems to be dropped into the "bit bucket".