Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if user has email set up on their iDevice?

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

like image 530
Sam Jarman Avatar asked Dec 23 '10 21:12

Sam Jarman


People also ask

Can I have 2 email accounts on my iPhone?

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.

What is host name for email on iPhone?

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.


1 Answers

if ([MFMailComposeViewController canSendMail]) {
    [self doStuff];
}
like image 125
coneybeare Avatar answered Sep 29 '22 20:09

coneybeare