HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 October 23rd, 2000, 09:14 AM
ravi_kiruba ravi_kiruba is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 2 ravi_kiruba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have a form with two text areas. I need to mail the contents I print in those areas to a default mail-id.How can I do that?
In normal HTML we have mailto option which will popup an empty write message window from default browser.How can I automatically get the contents from the text area and fill it in the write message window.Please help me


Reply With Quote
  #2  
Old October 23rd, 2000, 12:16 PM
JSchoof JSchoof is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 82 JSchoof User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 46 sec
Reputation Power: 9

As far as I know, you can not populate the body of a "mailto" type tag dynamically.

I would recommend bouncing off a perl script, as perl can do these things very easily. I am not sure if there are any decent JavaScript mail libs, but I have never seen any.

Josh

Reply With Quote
  #3  
Old October 24th, 2000, 08:03 AM
tvanbart tvanbart is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 35 tvanbart User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
AAMOF, I think you *can* populate a mailform with something like

<A href="mailto:name@address?subject=test&bcc=other@address&body=this is a test">Send mail</a>

Works in IE4 and NS4. If you can put in something like document.myform.myfield.value you would be on your way.

Success, Ton

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Need to mail with contents


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT