Answer

The email app can be invoked by getting a handle to the application using the UIApplication sharedApplication method and invoking the openURL method passing the url with the mailto syntax as show below.

Snippet

  1. - (void) invokeEmailApp
  2. {
  3. // sample of email outlet
  4. NSString *url = [NSString stringWithString:@"mailto:foo@example.com?cc=bar@example.com&subject=Greetings%20from%20Cupertino!&body=Hello%20there!"];
  5.        
  6. [[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];
  7. }