Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.

danielpunt

macrumors newbie
Oct 11, 2007
17
0
Netherlands
You can open a mailto: link like this :

Code:
NSURL *url = [[NSURL alloc] initWithString:@"mailto:example@example.com?subject=This is my subject&body=this is the body"];
[[UIApplication sharedApplication] openURL:url];

:)
 

sjarman

macrumors newbie
Sep 24, 2008
18
0
Sydney, Australia
At the moment, I'm using the mailto in my app to produce an email.

In one of the iPhone Getting Started videos, the Apple presenter refers to a method within UIKit (when discussing "Application integration") to "create and prefill a message in mail".

Is he referring to the mailto URL, or is there another way that this can be done?
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.