View Full Version : Email api
sujithkrishnan
Sep 25, 2008, 12:43 AM
Hi all,
I want o know how to send email from iPhone application.There is no support for NSMailDelivery.
danielpunt
Sep 25, 2008, 05:16 AM
You can open a mailto: link like this :
NSURL *url = [[NSURL alloc] initWithString:@"mailto:example@example.com?subject=This is my subject&body=this is the body"];
[[UIApplication sharedApplication] openURL:url];
:)
robbieduncan
Sep 25, 2008, 05:35 AM
You already asked this exact same question (http://forums.macrumors.com/showthread.php?t=563657). Reposting in a new thread is both against the rules and exceptionally rude. I will certainly think twice before offering you further help or advice.
sjarman
Sep 25, 2008, 07:18 AM
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?
robbieduncan
Sep 25, 2008, 07:30 AM
Is he referring to the mailto URL, or is there another way that this can be done?
He is referring to mailto:. That is the only option.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.