Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-11
3
Medium Priority
?
195 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
  • 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 1500 total points
ID: 24361512
mail.Body = this.Page.Form.InnerHtml;
            mail.IsBodyHtml = true;
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

963 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