Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序的一部分发送了一封带有附件的电子邮件。我正在使用 MFMailComposeViewController 类,一切都很好。
我只是想知道我是否可以向自己发送秘密密件抄送消息,仅用于统计目的以跟踪已发送的消息数量。
谢谢!
更新:用户 tc 不明白我想要完成什么。我不想侵犯用户的隐私。我只需要跟踪我的应用程序上的事件。我没有明确自己需要什么。
setBccRecipients:你的实例上的方法怎么样MFMailComposeViewController?
setBccRecipients:
MFMailComposeViewController
根据正在撰写的电子邮件的内容,您可能需要重新考虑向自己发送密件抄送,而您的用户却不知道......只是说......
您可以跟踪电子邮件是否已成功发送,而无需向自己发送密件抄送信息。检查didFinishWithResult委托方法。
didFinishWithResult