Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-29-2009, 10:55 AM   #1 (permalink)
IphoneSdk
I will be a billionaire.
 
IphoneSdk's Avatar
 
Join Date: Sep 2009
Location: Scarborough, United Kingdom
Age: 16
Posts: 1,292
Default Let user choose who to send email to

Hi,

I want to let the user choose who they want to an email to from my app

To send an email to a certain email address I use this code:

Code:
NSURL *url = [[NSURL alloc] initWithString:@"mailto:k@yahoo.com?subject=This is my subject&body=this is the body"];
[[UIApplication sharedApplication] openURL:url];
In the email that will be sent I want there to be data that the user has typed into a text field in the app.

Any ideas how to do this?

I hope I've explained it properly!

Thanks
__________________
iOS Apps | Website | Twitter | Facebook

Last edited by IphoneSdk; 11-29-2009 at 10:58 AM.
IphoneSdk is offline   Reply With Quote
 

» Advertisements
» Online Users: 319
19 members and 300 guests
ADY, BdR, BrianSlick, Diegan, djohnson, Duncan C, F_Bryant, Herbie, ilmman, Joseph Nardone, laurielaptop, M@realobjects, Profile, rob.mccarthy, rodgo, TheWebWizz, VikMyr, vogueestylee, yomo710
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,702
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:51 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.