December 28th, 2001, 10:08 AM
Email page to a friend
Please help me out.
I am in the process of creating a web site which I hope to make database driven. I am only 16 and so on a very steep learning curve. I have a few page options on each page of my site and I want one of the buttons (an image of an email) to open up a blank email with the URL of the current page and possibly some text in the body.
The user can then add/modify that text, enter an email address, add a subject, etc.
I have searched all over the net to no avail - plenty of similar things but nothing like this.
Hope you can help - Gareth
December 28th, 2001, 10:43 AM
You are young so ... did not search the forums, anyway:
This can be done client side with something like this (found searching): mailto:email@example.com?body='<HTML page>'
or with some servlet/jsp, try on www.hotscripts.com
December 28th, 2001, 11:41 AM
Thanks for the reply - I have tried looking on hotscripts but cannot find what I am looking for. Is the code that you mentioned to be typed in exactly the same as you have written it or do you have to manualy replace <HTML page> with the html page?
Will this work on PHP pages?
Thanks again - Gareth
December 29th, 2001, 02:13 PM
Why don't you try yourself?
In php there is something similar, search and try to figure out.
Client side should be something like
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#FFFFFF" text="#000000">
Notice that this thread is completely off topic here!!!
December 29th, 2001, 03:39 PM
You've completely lost me now. Could you explain it in a bit more detail please.
Thanks - Gareth