Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 21st, 2004, 10:53 AM
sdkramer sdkramer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 sdkramer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old May 22nd, 2004, 05:52 PM
Yeruhn's Avatar
Yeruhn Yeruhn is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Netherlands
Posts: 428 Yeruhn User rank is Sergeant (500 - 2000 Reputation Level)Yeruhn User rank is Sergeant (500 - 2000 Reputation Level)Yeruhn User rank is Sergeant (500 - 2000 Reputation Level)Yeruhn User rank is Sergeant (500 - 2000 Reputation Level)Yeruhn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 16 h 35 m 27 sec
Reputation Power: 10
You can use the xmlhttp component to get the asp page. It will go through the interpreter and then you can email the result.

Reply With Quote
  #3  
Old May 24th, 2004, 11:41 AM
sdkramer sdkramer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 sdkramer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks! I got it done, and my boss--as well as I--am impressed at the elegance of the solution.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > page source as string?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT