title: Issue loading Mvc 4 view in Iframe? Not displaying the model properties in IFrame
body: <p>I have this following requirement. Need to display the html Body of the Mime message in IFrame</p>
  
  <p><strong>View</strong></p>
  
  <pre><code>&lt;iframe id="myIframe1" src="http://localhost:23245/Home/GetMimeMessageContent?FilePath=D \MimeFiles/htmlBody-small1.eml&amp;PartName=HtmlBody" style="width:600px;height:600px;" &gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>public ActionResult GetMimeMessageContent(string filePath,string partName)
      {
          var mimeModel = BuildMimeModel(filePath, partName);
          MimeHeaderModel mimeHeadermodel = new MimeHeaderModel();
          mimeHeadermodel.FromAddress = mimeHeadermodel.ToAddress = mimeHeadermodel.Subject = string.Empty;
          mimeModel.MimeHeader = mimeHeadermodel;
          return View("MailDetailsView", mimeModel.MimeBody.HtmlBody);
      }
  </code></pre>
  
  <p>it's not showing the HtmlBody in the Iframe. But Its calling the controller. I dont know what I am missing.</p>