Iphone从应用程序发送电子邮件 [英] Iphone send email from application
问题描述
使用[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@mail @ mail.com]],电子邮件应用程序打开,用户无法返回主应用程序。
有没有办法我可以将用户发回发送电子邮件后的应用程序?
非常感谢。
p>查看MFMailComposeViewController类(需要MessageUI.framework) - 它为您提供标准的UI,以便从应用程序内部创建和发送邮件
I need to be able to send emails from within the application I am developing.
Using [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mail@mail.com"]] , 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.
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
这篇关于Iphone从应用程序发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!