outlook.Application oApp = new outlook.Application(); outlook.MailItem oMsg = (outlook.MailItem)oApp.CreateItem(outlook.OlItemType.olMailItem); outlook.Inspector oInspector = oMsg.GetInspector; oMsg.HTMLBody = "Dear Sir, <br/> Please Assign the Priority for Scaffolding Jobs...!!<br/>";
StringBuilder emailBody = new StringBuilder(); StringWriter sw = new StringWriter(emailBody); HtmlTextWriter hw = new HtmlTextWriter(sw); gridView1.RenderControl(hw); oMsg.HTMLBody = "Dear Sir, <br /> Please Assign the Priority for Scaffolding Jobs...!!<br />" + emailBody.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)