I wrote java script code to open mail client at the same time i am pre populating to,cc,subject and body.But here problem is as part of body i need some html styles.I write like as follows
<html>
<body>
<input id="sendemail" type="submit" value="Submit">
</body>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script>
$("#sendemail").click(function() {
alert("Hai");
try {
var email='prospectpartner@gmail.com';
window.location="mailto:"+email+"?subject=Subject&**body**="+<html>Please attach your invitation letter to this email<b><i>Primary Contact</i></b><br/>First name:</html>;
}
catch(err){
alert(err);
}
});
</script>
</html>
if you observe the body element value i am giving html elements as part of body.Please see the attached image which is body of outlook.Those html elements are not converting.Please see the below image of outlook