what i want to do is like this: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_target
but the html that will be send on iframe will be the HTMLBody of an msg file.
What I have tried:
<html>
<body>
<div id="myDiv">
<label>sample</label>
<button>send</button>
</div>
<div id="2ndHTML">
(Insert html codes without replacing the above tags)
</div>
</body>
</html>
Default.aspx.cs:
MailItem item = (MailItem)app.CreateItemFromTemplate(@"C:\Users\elayronj\Desktop\Sample\sample.msg", Type.Missing);
samplediv.InnerHtml = item.HTMLBody;