在iphone/ipad应用程序(非内置应用程序)中发送电子邮件时,将默认电子邮件更改为其他电子邮件客户端



如果我要从任何ios应用程序(非内置应用程序)发送电子邮件,那么我可以更改吗"from"(某个默认id)到某个其他id。Say gmail是我在MAIL应用程序中设置的默认电子邮件。所以我可以使用我的其他电子邮件帐户发送吗电子邮件,即使我使用gmail作为默认邮件选项。

我希望为我的ios应用程序实现此功能。

这有可能吗?有没有任何方法可以通过编码实现这一点?

MFMailComposer上的Apple文档中没有列出任何方法,而且Apple不喜欢人们干扰MFMailComposer。所以没有。

来自文件:

The mail composition interface itself is not customizable and must not be modified by your application. In addition, after presenting the interface, your application is not allowed to make further changes to the email content. The user may still edit the content using the interface, but programmatic changes are ignored. Thus, you must set the values of content fields before presenting the interface.

最新更新