Solved

FormMail

Posted on 2000-05-02
4
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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 this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

729 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