sending email with attachments from an app
<p>I am aware that there have been multiple questions with respect to this issue. However, I have not yet found a satistactory answer.<br>
I have built a medical app using a whole lot of JavaScript. It runs on both android and iOS. This app determines which protocol to use under certain conditions for a particular patient.<br>
The doctor can send these considerations and an indication of the protocol to use to himself and to some other institution that needs to use it. I use <code>mailto</code> for that.<br>
Since there are however a lot of protocols, just a protocol name can lead to errors. So, we would like to send the relevant protocol in pdf file-format as an attachment with the email.<br>
So far, I have not yet been able to do that. However, I see that that there are a lot of apps that allow you to send documents (or pictures) as email attachments, using the available email client on the mobile device (and also through whatsapp and other comms methods).<br>
Does anybody have any ideas please?</p>

<p>Apart from this, another thing <code>mailto</code> does not allow is formatted text. It would be very nice if I would have a possibility for that too.</p>