title: Use ASP.NET to e-mail contents of an entire HTML Page?
body: <p>I have a HTML page that I have created that essentially consists of:</p>
  
  <pre><code>&lt;div&gt;
     &lt;table&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;asp:label runat="server" id="someText"&gt;&lt;/asp:label&gt;&lt;/td&gt;
         &lt;/tr&gt;
     &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The label text is generated on page load from an SQL query.</p>
  
  <p>The above is a very basic and simplified version of what I have on my page.</p>
  
  <p>What I'd like to achieve is to be able to e-mail the entirety of the rendered HTML page without having to build the page again in my code-behind to send it.</p>
  
  <p>Is there a way of doing this?</p>
  
  <p>Thanks in advance for any help.</p>