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.
var subject = Your transaction No: +': ' + $('#confirmationNumber').text()+ ' is confirmed';
var emailBody = $('#confirmation').html();
$(this).attr('href','mailto:'+userEmail+'&subject=' + subject +'&body='+ emailBody);
it want the HTML in 'emailBody' to get appended to the body as HTML. But it displays me the entire HTML tags instead.
Is there a way i can append a HTML in the body ?