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 have a JavaScript code snippet here that I'm using to send emails through Outlook. Everything seems to be working well except for the fact that the email body is not formatted in HTML. Can anyone assist me with this? Thank you in advance.