| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
page source as string?
I have a page that looks great. My problem is I want to send an email that looks exactly like this page. After it's rendered. Eg.
Pre-rendering <html> <head><title><% = Results("Title") %></title></head> <body><% = results("Messagebody") %></body> </html> Post-rendering <html> <head><title>This page rocks!</title></head> <body>Go go gadget message body.</body> </html> I want to email the second. The email function I have takes strings, but I was wondering if there was an easy way to do this? Obviously I've simplified this example, but can anyone help me? I really don't want to put each and every line in with a &_. Thanks, Seth |
|
#2
|
||||
|
||||
|
You can use the xmlhttp component to get the asp page. It will go through the interpreter and then you can email the result.
|
|
#3
|
|||
|
|||
|
Thanks! I got it done, and my boss--as well as I--am impressed at the elegance of the solution.
|
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > page source as string? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|