Solved

System.Net.Mail: How do I email the enitire contents of a rendered .aspx page?

Posted on 2009-05-11
3
189 Views
Last Modified: 2013-11-07
I have a wizard control that runs folks through a survey.  On the last step, they received a rsults page.  Is it possible to e-mail those results to the user from a textbox where they would enter their email address?

I can get the email working, but cannot stream or parse through the html (body) to send along.
0
Comment
Question by:devnewbee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Expert Comment

by:informaniac
ID: 24361333
have u tried this.Page.Form.InnerHTML?
0
 

Author Comment

by:devnewbee
ID: 24361359
No, I have not.  Can you please provide an example?
0
 
LVL 20

Accepted Solution

by:
informaniac earned 500 total points
ID: 24361512
mail.Body = this.Page.Form.InnerHtml;
            mail.IsBodyHtml = true;
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question