title: Use a body template for mailto
body: <p>Is there any way to include an HTML template for the <code>mailto()</code> function body? E.g. I have the next link:</p>
  <pre><code>echo &quot;&lt;a href=&quot;mailto:email@gmail.com?subject=subject&amp;body=the%20body&gt;Send email&lt;/a&gt;&quot;;
  </code></pre>
  <p>and I want to do something like this:</p>
  <pre><code>$template = &quot;&lt;h1&gt;Some text&lt;/h1&gt;&lt;p&gt;More text&lt;p&gt;&lt;img src='imageurl' /&gt;&quot;;
  
  echo &quot;&lt;a href=&quot;mailto:email@gmail.com?subject=subject&amp;body=&quot; . $template . &quot;&gt;Send email&lt;/a&gt;&quot;;
  </code></pre>
  <p>Of course, the above code is putting the raw HTML into the body. So, how to give format to it?
  I've found a similar question <a href="https://stackoverflow.com/questions/5857/mailto-link-for-large-bodies">here</a>, but this is an old one, and the accepted answer doesn't let to give HTML format to the content.</p>
  <p><em>Note: I know that it's not the best way to send mails, but it is just an option to let the user to change the content of the default body, and send it with its own mail account.</em></p>