title: how to add html in a email body using javascript?
body: <p>I have to sent a confirmation email to the users.
  and on clicking of a link, i want to open their default email client and add a HTML into the body tag.</p>
  
  <pre><code>var subject = Your transaction No: +': ' + $('#confirmationNumber').text()+ ' is confirmed';
  var emailBody = $('#confirmation').html();
  $(this).attr('href','mailto:'+userEmail+'&amp;subject=' + subject +'&amp;body='+ emailBody); 
  </code></pre>
  
  <p>it want the HTML in 'emailBody' to get appended to the body as HTML. But it displays me the entire HTML tags instead.</p>
  
  <p><strong>Is  there a way i can append a HTML in the body ?</strong></p>