palmtree345
New member
- Joined
- Jan 13, 2006
- Messages
- 1
How do I send form results to an email address? (I created the form in Dreamweaver.) In my Contact form file, I have the following 3 statements above the form code: ("www.samplesite.org" is a url that I just made up for this question.)
<form method="get" action="http://www.samplesite.org/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient" value="[email protected]">
<input type="hidden" name="subject" value="Comments" enctype="text/plain">
1. In the first statement, it appears that "formmail.cgi" is supposed to be in the cgi-bin directory. But where is this file? I can't find it on the HostPC/DirectAdmin web pages.
2. I can see that the 2nd statement directs the form results to a certain email address. What's the point of the 3rd statement? I assume that this is written on the subject line of the email?
I'm very confused. Thank you.
<form method="get" action="http://www.samplesite.org/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient" value="[email protected]">
<input type="hidden" name="subject" value="Comments" enctype="text/plain">
1. In the first statement, it appears that "formmail.cgi" is supposed to be in the cgi-bin directory. But where is this file? I can't find it on the HostPC/DirectAdmin web pages.
2. I can see that the 2nd statement directs the form results to a certain email address. What's the point of the 3rd statement? I assume that this is written on the subject line of the email?
I'm very confused. Thank you.