【发布时间】:2010-09-23 13:57:12
【问题描述】:
我想从我的 iPhone 应用程序发送一封电子邮件。我听说 iOS SDK 没有电子邮件 API。我不想使用以下代码,因为它会退出我的应用程序:
NSString *url = [NSString stringWithString: @"mailto:foo@example.com?cc=bar@example.com&subject=Greetings%20from%20Cupertino!&body=Wish%20you%20were%20here!"];
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];
那么如何从我的应用程序发送电子邮件?
【问题讨论】:
标签: ios iphone email cocoa-touch