iosemail

Is there API for email account setup in iOS


MFMailComposeViewController for compose the email, but what's the API for setting up email account?


Solution

  • MFMailComposeViewController does not include such a method. Applications are expected to call +canSendMail to query if an account has been set up, and gracefully transition if it has not.