Solved

FormMail

Posted on 2000-05-02
4
166 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 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