Im developing a mobile application using PhoneGap. In this application the user should be able to click a link to send an email from there and this email should contain HTML data. So what I have is something like this:
JS:
var mail = "<html><body><h1>Testing HTML Email</h1></body></html>"
$("#mailTo").attr("href", "mailto:?subject=Star&body=" + mail);
HTML (PhoneGap):
<a id="mailTo" href="#">Email</a>
When I click the link, the Gmail app on my phone (Im using android) opens with the content of the variable mail but it is not interpreted as HTML. I would like to know if there is a way to do so (set headers or something like that). Thanks in advance.