PDA

View Full Version : Emailing contents of an asp page


Svenson
10-14-2004, 07:01 PM
Hello,

I need to add to a page the ability to email the output of the page to someone.
I've seen it around enough that I'm guessing it's pretty basic, but I haven't come up with the google search that'll get me what I need.
I know how to send an html email, but I can't figure out how to get the contents of that page into a variable.
The pages I want to send are like this one:
http://www.nextlevelathletics.org/student_profile2.asp?id=13

Thank you!
-Brian Hill

Svenson
10-15-2004, 01:04 AM
OK, I just realized that I could have that page grab the info from the database and totally insert all of the code, but I'd like to be able to take it straight from the main page so I would only have to update 1 page instead of two.
Don't know if I'm being clear enough on what I'm doing, if I'm not please let me know. :p

-Brian

Svenson
10-15-2004, 05:05 PM
OK, got the answer from another forum. Here's a good link in case anyone is interested.
http://www.w3schools.com/asp/asp_send_email.asp

-Brian