I'm trying to start composition of an email in the Mail App with a chosen attachment (an image chosen from the user's photos). There is a url scheme that goes like: mailto:emailaddress?body=BodyOfEmail?attachment=file, which I've been opening up in a WebView as an alternative, but while I've followed the conventions and advice I found in online forums, it doesn't seem to work with the iOS Mail App.
Three questions:
1) has anybody had any success doing this in Pythonista this way? If so, is there any automated way to close the WebView once you've sent your email in the Mail App and switched back to Pythonista?
2) Is there another API I'm missing in Pythonista that would allow us to do that? I've tried quicklook and open_in with the image, but that doesn't have the options I want.
3) Finally, if it doesn't exist in 1.5, is this something that is already present in the 1.6 beta or will be added in the near future?
Ideally, I would like to have a sheet presented to the user, which sends the email, so that I don't have switch back and forth between Apps.
Any help greatly appreciated.
I really enjoy reading this forum periodically.