-1

Is it possible to email the contents of a plist without opening up the mail app? Could this be something done with some PHP on a server? I have been researching this idea for a little bit now, and seem to keep ending up at the tutorials where the app will open up the mail program and attached the plist that way. Just wanted to see if there were other options.

Thanks!

4

1 回答 1

1

是的,是的。plist 只是一个文件。您可以使用 MFMailComposeViewController 在您的应用程序中显示撰写电子邮件,并预先填写收件人、正文、主题和附件。

没有用户交互是不可能发送电子邮件的。那是苹果的设计。

正如另一位发帖人所说,您可以将文件发送到服务器,并让服务器上的 PHP 脚本发送电子邮件。

于 2013-10-14T22:34:14.473 回答