Solved

FormMail

Posted on 2000-05-02
4
169 Views
Last Modified: 2010-04-07
I'm trying to use Matther Wright's "Form Mail" to get my response page to work.  

I have lots of programming experience, however am new to Dreamweaver am and not sure exactly all the steps I need to do to get this configured.

For example:
I need to make sure that $mailProg variable is pointing to the correct path (I'm hosted by mindspring and will find out the path...) but how do I change/define this in Dreamweaver?
(same question for $referers variable.

Where and how do I assign the actions to the form.  (I clicked on form and saw how I can add one action to form.. and have download the java scripts.)

Any additional info will be great.

Kathy
0
Comment
Question by:KathyBrowning
  • 3
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 2770768
Hi there,
erm..there is no javascript involved..its cgi(perl script)

you have to put formmail.cgi in your cgi-bin folder of your webserver  

example of use.
start dreamweaver and start a new page.
add a form .
view the html it will look like this:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form method="post" action="">
</form>
</body>
</html>


now change the html to look like:


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form action="/cgi-bin/FormMail.cgi">
<input type="hidden" name="recipient" value="enquiries@somewhere.com">
<input type="hidden" name="subject" value="somewhere E-Mail">
<input type="hidden" name="redirect" value="http://www.somewhere.com/thankyou.html">
</form>
</body>
</html>

change the "somewhere.com" lines to suit your name then you can design your form as normal ..
ps
i guess you have already but check first that your webserver host suports cgi or it wont work..

Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
ID: 2770791
ps
when making your form set the names of the feilds to something good like instead of putting textbox on form and calling it "textbox1" ,call it
"email address" etc..
this is how it comes back in the email and makes easier to read.
after some practice at it youll see what i mean.
0
 

Author Comment

by:KathyBrowning
ID: 2773807
Thanks, I haven't had a chance to try this but will grade this by the end of the week.

0
 
LVL 17

Expert Comment

by:inthe
ID: 2855187
hi,
 did you get it to work ok?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question