0
votes

I need to be able to send emails from within the application I am developing.

Using [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"[email protected]"]] , the email application opens and the user can't go back to the main application.

Is there a way I can send the user back to the application after they are done sending emails ?

Many Thanks.

3
possible duplicate of iphone app send emailBrad Larson

3 Answers

3
votes

Have a look at MFMailComposeViewController class (requires MessageUI.framework) - it provides you with standard UI to create and send mails from inside of your application

0
votes

Not that I know of, but you can include a mail composer in your application.

Look into the MFMessageComposer class and the MessageUI framework. It will allow you to show a Mail Composer view within your app.