var theApp = new ActiveXObject("Outlook.Application");
var theMailItem = theApp.CreateItem(0);
theMailItem.To = to;
theMailItem.Subject = (subject);
theMailItem.CC = carbon;
theMailItem.Body = (msg);
theMailItem.display();
I'm using the above javascript code to send emails through outlook everything works fine except the mail's body which isn't HTML formatted, could anyone please help me on this. Thanks in advance