Help!
I'm trying to set up a form that when filled in will be sent to my email address. I have never used cgi but have a lot of exp. with dreamweaver2. Is there anyway I can use javascript to email the data????????????
Set the form action to mailto:youremailaddress similar to:
<FORM name="myform" action="mailto:youraddress@yourcompany.com">
This will send a .dat file with the posted information to your email address.
This may not be exactly the functionality you are looking for though. I would suggest using Active server pages (ASP) and post the data to a separate page which reads the post data, formats it into an email, and sends it to you via CDONTS (Collaborative Data Objects for NT Server, a built in server object [program] in Win2K that sends email). Your site would have to be hosted on a Windows/IIS server for this to work. This coding in ASP can be done in Dreamweaver UltraDev 4 fairly easily without touching much code.
Hi, Why not try formmail - all you do is set the form up with (for example) :-
<form name="form1" method="POST" action="formmail.pl">
<input type=hidden name="recipient" value="info@you.com">
<input type=hidden name="subject" value=" whatever">
<input type=hidden name="required" value="realname,email,comments">
<table width="97%" border="0" cellpadding="5">
... input fields go here
It's very easy to use as long as you can run cgi or perl on the server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.