title: How can I send mail from an iPhone application
body: <p>I want to send an email from my iPhone application. I have heard that the iOS SDK doesn't have an email API. I don't want to use the following code because it will exit my application:</p>
  
  <pre><code>NSString *url = [NSString stringWithString: @"mailto:foo@example.com?cc=bar@example.com&amp;subject=Greetings%20from%20Cupertino!&amp;body=Wish%20you%20were%20here!"];
  [[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];
  </code></pre>
  
  <p>So how can I send an email from my app?</p>