Search code examples
objective-cemailmfmailcomposeviewcontroller

How to send some additional app info when user sends email using MFMailComposeViewController?


Is there any way to make my app send to me some additional app info when user sends an email from inside my app using MFMailComposeViewController but without enabling the user to delete or change that info? For example, I would like to receive with every user email some info like what is the device user is using, or number that shows how many times user launched my app, etc., but I don't want the user to have the option of changing or deleting that info in email. Is there maybe some other way of doing this? Thanks.


Solution

  • Create a public key encrypted attachment with the info you want to send.