Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FormMail

Posted on 2000-05-02
4
Medium Priority
?
175 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 400 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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 …
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

688 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