January 28th, 2000, 05:51 AM
I would like a button on a webpage that says "E-mail this page to someone".
When clicked it launches the users e-mail application with that page in html form in the body of the message, ready for the address to be entered and sent.
It's for the company intranet so browser and e-mail client compatibility is not an issue.
Anyone any ideas?
January 28th, 2000, 07:28 AM
that'll do the trick, as there is no address entered it will just launch the email client and however sticks in the address as normal
just spotted the button bit, pop your img src in instead of the wording
[This message has been edited by timbo (edited January 28, 2000).]
January 28th, 2000, 08:04 AM
I have the line
<a href="mailto:enter e-mail address here?subject=This appears in the subject line&body=Body of E-Mail">
Which is kind of fine but where I have "Body of E-Mail" I need the actual page that I am looking at through the browser.
Pasting in the html code of the page doesn't work.
January 28th, 2000, 09:25 AM
ah.. didnt realise you meant that, should of read it properly..doh!
Anyway it is possible, do it as you were doing it but you need to encode the page, see the urlencode function and place that in the body (I think) sorry pretty useless reply really
January 31st, 2000, 11:32 AM