HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

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 Dev Shed Forums Sponsor:
  #1  
Old January 28th, 2000, 04:51 AM
RossL
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old January 28th, 2000, 06:28 AM
timbo timbo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 1999
Location: London
Posts: 110 timbo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 26 sec
Reputation Power: 0
<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).]

Reply With Quote
  #3  
Old January 28th, 2000, 07:04 AM
RossL
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.


Reply With Quote
  #4  
Old January 28th, 2000, 08:25 AM
timbo timbo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 1999
Location: London
Posts: 110 timbo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 26 sec
Reputation Power: 0
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

Reply With Quote
  #5  
Old January 31st, 2000, 10:32 AM
Vernon Frazee Vernon Frazee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 1999
Posts: 25 Vernon Frazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > E-mailing a webpage.

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap