How do you check (programmatically) if a user has set up an email account in Mail.app. It seems to be causing a crash.
Cheers
If you have several email addresses, you do not have to choose which one to set up on your iPhone. Setting up multiple email accounts from different providers is relatively simple, as long as you have some basic information such as your username, password and the address of your mail server.
Host Name: This is the same as the incoming server. User Name: This is required and again is your email address. Password: The password for your email address. Tap Next.
if ([MFMailComposeViewController canSendMail]) {
[self doStuff];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With