|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? Thanks |
|
#2
|
|||
|
|||
|
<a href=mailto:"">mail</a>
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 ------------------ cheers [This message has been edited by timbo (edited January 28, 2000).] |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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 ![]() |
|
#5
|
|||
|
|||
|
Couldn't figure out a way to get the <form> example into this page
so put it here: http://hammer.prohosting.com/~vfraz...er/viaemail.htm [This message has been edited by Vernon Frazee (edited January 31, 2000).] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > E-mailing a webpage. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|