how to add html in a email body using javascript? -


i have sent confirmation email users. , on clicking of link, want open default email client , add html body tag.

var subject = transaction no: +': ' + $('#confirmationnumber').text()+ ' confirmed'; var emailbody = $('#confirmation').html(); $(this).attr('href','mailto:'+useremail+'&subject=' + subject +'&body='+ emailbody);  

it want html in 'emailbody' appended body html. displays me entire html tags instead.

is there way can append html in body ?

the answer short unfortunate:

no.

when using mailto:-links, can specify text, not html. if user’s mail client composes mail message using html, body text inserted text.

there’s nothing can web page.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -