i want to show user from which account he is going to send email when he is going to send an email using my app and i am using MFMailComposeViewController. so what is the way of getting the from email address.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There is no way to get this information. Mail sent via MFMailComposeViewController
is always sent from the user's default address.
回答2:
Mail sent via
MFMailComposeViewController
is always sent from the user's default address.
User's default address is selected by default but the user can switch the accounts. Anyway, no way to get this info back into your app.