Question

Dreamweaver Form Submission

Asked by: ScottRAnderson1

Hi,
I have a site set up in Dreamweaver and I would like to setup a form that submits information to an email address. The site is HTML and I have the form set up but need the code to direct the information to the email. I use 1and1 as a host.
The page and form is at:http://www.kamrowcontractors.com/estimate.html
  I need to form to go to (email removed by Moderator)

Let me know if you need anything else .
Thanks for your help.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/kamrowHomeNoTab.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Kamrow Contractors Estimate Form</title>
<!-- InstanceEndEditable -->
<link href="kam2colliqtemp.css" rel="stylesheet" type="text/css" /><!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<style type="text/css">
<!--
.boldsubheadskam {
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
}
#topnavkam {
	margin-top: 0px;
	margin-bottom: 0px;
	height: 40px;
	background-color: #999;
}
#apDiv1 {
	position:absolute;
	width:279px;
	height:115px;
	z-index:1;
	left: 734px;
	top: 16px;
}
#apDiv2 {
	position:absolute;
	width:352px;
	height:133px;
	z-index:1;
	left: 723px;
	top: 11px;
}
.twoColLiqLtHdr #container #header #phone number h5 strong {
	color: #9C0500;
}
.twoColLiqLtHdr #container #header #phone number h5 {
	color: #9C0500;
}
.twoColLiqLtHdr #container #header #phone number #interior title h5 {
	color: #000;
}
.twoColLiqLtHdr #container #header #phone number #interior title h5 {
	color: #000;
}
.twoColLiqLtHdr #container #sidebar1 .boldsubheadskam .interiortitle a #estimate21 {
	color: #9C0500;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- InstanceBeginEditable name="head" -->
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
</head>
 
<body class="twoColLiqLtHdr" onload="MM_preloadImages('Kamrowimages501/buttons/contactdown.jpg','Kamrowimages501/buttons/showdown.jpg','Kamrowimages501/buttons/servicesdown.jpg','Kamrowimages501/buttons/guardown.jpg','Kamrowimages501/buttons/paintbrushbutton2.jpg','Kamrowimages501/buttons/homedown.jpg','Kamrowimages501/buttons/aboutdown.jpg','Kamrowimages501/buttons/mba_member_logoa.jpg','Kamrowimages501/buttons/paradelogoc.jpg')">
<div align="right"></div>
<div id="container">
  <div id="header">
    <h1 align="right"><a href="http://www.mbaonline.org/default.htm" target="_blank" onmouseover="MM_swapImage('MBA Logo','','Kamrowimages501/buttons/mba_member_logoa.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="Kamrowimages501/buttons/mba_member_logo.jpg" alt="Kamrow Contractors is a member of the Metropolitan BUilders Association or Greater Milwaukee" name="MBA Logo" width="89" height="117" hspace="20" vspace="10" border="0" align="middle" id="MBA Logo" /></a></h1>
  </div>
  <div align="center">
    <table border="0" align="center" cellpadding="0" cellspacing="0" class="clearfloat">
      <tr>
        <td><a href="index.html" target="_top" onClick="MM_nbGroup('down','group1','home','',1)" onMouseOver="MM_nbGroup('over','home','Kamrowimages501/buttons/homedown.jpg','',1)" onMouseOut="MM_nbGroup('out')"><img name="home" src="Kamrowimages501/buttons/homeup.jpg" border="0" alt="Kamrow Contractors interior and exterior painting home page" onLoad="" /></a></td>
        <td><a href="contact.html" target="_top" onclick="MM_nbGroup('down','group1','contactup','',1)" onmouseover="MM_nbGroup('over','contactup','Kamrowimages501/buttons/contactdown.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="Kamrowimages501/buttons/contactup.jpg" alt="Kamrow Contractors Interior and Exterior Painting Services in Sussex, Waukesha and Milwaukee" name="contactup" width="164" height="40" border="0" id="contactup" onload="" /></a></td>
        <td><a href="showroom.html" target="_top" onclick="MM_nbGroup('down','group1','showup','',1)" onmouseover="MM_nbGroup('over','showup','Kamrowimages501/buttons/showdown.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="Kamrowimages501/buttons/showup.jpg" alt="Kamrow Contractors Interior and Exterior Painting Services in Sussex, Waukesha and Milwaukee" name="showup" width="163" height="40" border="0" id="showup" onload="" /></a></td>
        <td><a href="about.html" target="_top" onClick="MM_nbGroup('down','group1','about','',1)" onMouseOver="MM_nbGroup('over','about','Kamrowimages501/buttons/aboutdown.jpg','',1)" onMouseOut="MM_nbGroup('out')"><img name="about" src="Kamrowimages501/buttons/aboutup.jpg" border="0" alt="About Kamrow Contractors interior and exterior painting" onLoad="" /></a></td>
        <td><a href="services.html" target="_top" onclick="MM_nbGroup('down','group1','servicesup','',1)" onmouseover="MM_nbGroup('over','servicesup','Kamrowimages501/buttons/servicesdown.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="Kamrowimages501/buttons/servicesup.jpg" alt="Kamrow Contractors Interior and Exterior Painting Services in Sussex, Waukesha and Milwaukee" name="servicesup" width="163" height="40" border="0" id="servicesup" onload="" /></a></td>
        <td><a href="guarantee.html" target="_top" onclick="MM_nbGroup('down','group1','guarup','',1)" onmouseover="MM_nbGroup('over','guarup','Kamrowimages501/buttons/guardown.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="Kamrowimages501/buttons/guarup.jpg" alt="Kamrow Contractors Interior and Exterior Painting Services in Sussex, Waukesha and Milwaukee" name="guarup" width="165" height="40" border="0" id="guarup" onload="" /></a></td>
      </tr>
    </table>
  </div>
  <div id="sidebar1"> 
    <div align="center" class="boldsubheadskam">
      <h4><span class="interiortitle"><strong>Need an Estimate?<br />
        Click here to get<br />
        your project started</strong></span><strong><br />
      </strong><span class="body"><strong class="interiortitle"><a href="estimate.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('estimate21','','Kamrowimages501/buttons/paintbrushbutton2.jpg',1)"><img src="Kamrowimages501/buttons/paintbrushbutton.jpg" alt="Kamrow Contractors Interior and Exterior Painting Services in Sussex, Waukesha and Milwaukee" name="estimate21" width="179" height="76" vspace="10" border="0" align="middle" id="estimate21" /></a></strong></span></h4>
      <h4><strong class="interiortitle">or call Kamrow<br />
        Contractors at:<br />
        <em>262-893-8796</em>.</strong> </h4>
      <p><a href="http://www.mbaonline.org/events/parade/paradeCurrent/paradeCurrent_home.htm" target="_blank" onmouseover="MM_swapImage('Parade of Homes Logo','','Kamrowimages501/buttons/paradelogoc.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="Kamrowimages501/buttons/paradelogob.jpg" alt="Kamrow Contractors has 5 years in the Parade of Homes of Greater Milwaukee" name="Parade of Homes Logo" width="125" height="166" border="0" id="Parade of Homes Logo" /></a><br />
      </p>
</div>
    <h2 align="center">
  <!-- end #sidebar1 --></h2></div>
  <!-- InstanceBeginEditable name="EditRegion3" -->
  <div id="mainContent">
    <h3>ESTIMATE INFORMATION<br />
    </h3>
    <FORM METHOD=POST ENCTYPE="text/plain" 
    ACTION="mailto:sranderson@wi.rr.com">
<form id="form1" name="form1" method="post" action="">
  <p align="left">
    <input type="text" name="Name" id="Name"tabindex="1" />
    <label for="Name2">Name</label>
  </p>
  <p align="left"> 
    <input name="Company Name" type="text" id="Company Name"tabindex="2" />
    Company Name</p>
</form>
    <form id="form2" name="form2" method="post" action="">
      <p align="left">
        <input type="text" name="Address" id="Address" tabindex="3" />
        <label for="Address">Address</label>	
      </p>
      <p align="left">
        <input type="text" name="City" id="City" tabindex="4" />
        <label for="City">City</label>
      </p>
      <p align="left">
        <input type="text" name="State" id="State" tabindex="5" />
      State</p>
      <p align="left">
  <input type="text" name="Zip Code" id="Zip Code" tabindex="6" />
        <label for="Zip Code">Zip Code</label>
      </p>
      <p align="left">
        <input type="text" name="Phone Number" id="Phone Number" tabindex="7" />
        <label for="Phone Number">Phone Number</label>
      </p>
      <p align="left">
        <input type="text" name="email" id="email" tabindex="8" />
        <label for="email">email</label>
      </p>
      <p align="left">
        <select name="Project Style" id="Project Style" tabindex="9">
          <option value="1">Interior Painting House - existing</option>
          <option value="2">Interior Painting House - new construction</option>
          <option value="3">Exterior Painting House - existing</option>
          <option value="4">Exterior Painting - new construction</option>
          <option value="5">Interior Painting Business - existing</option>
          <option value="6">Interior Painting Business - new construction</option>
          <option value="7">Exterior Painting Business - existing</option>
          <option value="8">Exterior Painting Business - new construction</option>
          <option value="9">Enameled Columns</option>
          <option value="10">Epoxy Garage Floors</option>
          <option value="11">Wood Finishing/Staining</option>
        </select>
        <label for="Project Style">What type of  project?</label>
      </p>
      <p align="left">
        <textarea name="Project Description" id="Project Description" cols="45" rows="5" tabindex="12"></textarea>
        Project Description
        <label for="Project Description"><br />
        </label>
      </p>
      <p align="left">
        <select name="Start Date" id="Start Date" tabindex="11">
          <option value="1">Immediately</option>
          <option value="2">1 month</option>
          <option value="3">3 months</option>
          <option value="4">6 months</option>
          <option value="5">1 year</option>
        </select>
        <label for="Start Date">Start Date</label>
      </p>
      <p align="left">
        <input type="text" name="How did you hear about Kamrow Contractors?" id="How did you hear about Kamrow Contractors?" tabindex="13" />
        <label for="How did you hear about Kamrow Contractors?">How did you hear about Kamrow Contractors?</label>
      </p>
      <p align="left">&nbsp;</p>
      <p align="center">
        <input type="submit" name="Submit" id="Submit" value="Submit" tabindex="16" />
        <label for="Submit">Submit to Kamrow Contractors</label>
      </p>
      <p align="center">&nbsp;</p>
      <div align="center"><p align="left">        <span id="sprytextfield1"><span class="textfieldRequiredMsg">A value is required.</span></span></p>
<p align="left">&nbsp;</p>
<div align="left"><div align="center"><p>&nbsp; </p>
      <p>&nbsp;</p>
    </div><</FORM>
    <div align="center"><div align="left"><div align="center"><h3><br />
    </h3>
<h1>&nbsp;</h1>
 
   <!-- end #mainContent -->
  </div></div></div></div>
  <div align="center"><script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
//-->
  </script>
  </div><!-- InstanceEndEditable -->
  <div align="center"><div align="left"><div align="center"><!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
  <br class="clearfloat" />
  <div id="footer">
    <p>©2009 Kamrow Contractors, LLC.</p>
    <!-- end #footer -->
  </div>
<!-- end #container --></div></div></div></div>
</body>
<!-- InstanceEnd --></html>

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-08 at 04:49:48ID24392028
Tags

Dreamweaver CS4 html form submission Macintosh

Topics

Adobe Dreamweaver

,

Scripting Languages

,

Hypertext Markup Language (HTML)

Participating Experts
3
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Frames in Dreamweaver
    Hi all, First let me say that I am fairly new to web design. Am using Dreamweaver and have had a little problem designing a page with frames. I understand (at least I think I do) the frameset and that all the frames created are their own web page. This is fine so far. I...
  2. HTML Form in Dreamweaver
    I am creating an HTML form in Dreamweaver which I want to send via email. To do that I created a table and started creating the fields. Then I created a submit button but nothing happens when I click it? Where can I define the field properties? How do I define that when a use...
  3. Dreamweaver Email Submit Button
    I created a website using a template. I am editing it using dreamweaver CS3. On the Contact Us page there is a section where the user can input their email address and message. There is a submit button next to the message box. How do I setup this submit button to send to my ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ChristoferDutzPosted on 2009-05-08 at 05:09:51ID: 24335185

Ok ... since your Service Provider is 1and1 and I could see its our german 1und1 or 1&1 I guess the same solution applies here. You have to set the action to the 1und1 formmailer script and set some invisible fields and name your visible fields to some special names. Here comes a code snippete showing you the details. If you are familiar with reading german texts, here comes the link:

http://hilfe-center.1und1.de/hosting/scripte_datenbanken/php/1.html

<form action="formmail.php" method="POST"> <input type="hidden" name="subject" value="Kontaktformular"> <input type="hidden" name="access" value="irregeheim"> <textarea name="Eingabe" cols="60" rows="20" wrap="PHYSICAL" id="Eingabe"></textarea> <input type="submit" value="Abschicken"> </form>

                                              
1:

Select allOpen in new window

 

by: ChristoferDutzPosted on 2009-05-08 at 05:17:16ID: 24335230

Following the guide on this english page (Just for Linux customers):
http://faq.1and1.com/scripting_languages_supported/formmail_explained/index.html

You have to get the Script from the following URL and place it in your "cgi-bin" directory:
http://nms-cgi.sourceforge.net/tfmail.tar.gz

You have to configure your script to use the correct subject and post to the right recipients. It is explained here:
http://faq.1and1.com/scripting_languages_supported/formmail_explained/4.html

Then you have to modify your html-page to post to this script (Only the action is set to : /cgi-bin/FormMail.pl)

<form id="form1" name="form1" method="post" action="/cgi-bin/FormMail.pl">
  <p align="left">
    <input type="Eingabe" name="Name" id="Name"tabindex="1" />
    <label for="Name2">Name</label>
  </p>
  <p align="left"> 
    <input name="Company Name" type="text" id="Company Name"tabindex="2" />
    Company Name</p>
</form>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:

Select allOpen in new window

 

by: savva_andreasPosted on 2009-05-08 at 06:23:47ID: 24335747

Hi,
your host supports php so you need to setup you from to submit to a .php file e.g. <FORM METHOD="POST"   ACTION="mail.php">.
 I have some code for you that you can use as a base and fill in you own info. Also change your html so that you only have one form on the page and not multiple forms, put all the fields under the form that will post to the php file.

Hope this helps.
Regards

<?php
// multiple recipients
$to  = 'example@example.com'; . ', '; // note the comma
$to .= 'wez@example.com';
 
// subject
$subject = 'ESTIMATE INFORMATION';
 
// message
$message = '
<html>
<head>
  <title>ESTIMATE INFORMATION</title>
</head>
<body>
  <p>Here are the ESTIMATE INFORMATION!</p>
  <table>
    <tr>
      <td>Name</td><td>' . $HTTP_POST_VARS['Name'] . '</td>
    </tr>
    <tr>
      <td>Company Name</td><td>' . $HTTP_POST_VARS['Company Name'] . '</td>
    </tr>
    <tr>
      <td>Address</td><td>' . $HTTP_POST_VARS['Address'] . '</td>
    </tr>
    <tr>
      <td>City</td><td>' . $HTTP_POST_VARS['City'] . '</td>
    </tr>	
    <tr>
      <td>State</td><td>' . $HTTP_POST_VARS['State'] . '</td> 
    </tr>	
    <tr>
      <td>Zip Code</td>	  <td>' . $HTTP_POST_VARS['Zip Code'] . '</td>	  
    </tr>		
    <tr>
      <td>Phone Number</td>	  <td>' . $HTTP_POST_VARS['Phone Number'] . '</td>	  
    </tr>			
    <tr>
      <td>Email</td>	  <td>' . $HTTP_POST_VARS['Email'] . '</td>	  
    </tr>				
    <tr>
      <td>What type of project?</td>	<td>' . $HTTP_POST_VARS['Project Style'] . '</td>	    
    </tr>					
    <tr>
      <td>Project Description</td>	 <td>' . $HTTP_POST_VARS['Project Description'] . '</td>	    	  
    </tr>					
    <tr>
      <td>Start Date</td>	<td>' . $HTTP_POST_VARS['Start Date'] . '</td>	  
    </tr>			
    <tr>
      <td>How did you learn about us?</td><td>' . $HTTP_POST_VARS['How did you hear about Kamrow Contractors?'] . '</td>		  	  
    </tr>					
	
  </table>
  
</body>
</html>
';
 
// To send HTML mail, the Content-type header must be set
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
 
// Additional headers
$headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
$headers .= 'From: Birthday Reminder savva.andreas@gmail.com' . "\r\n";
$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
$headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
 
// Mail it
mail($to, $subject, $message, $headers);
?>
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:

Select allOpen in new window

 

by: ScottRAnderson1Posted on 2009-05-08 at 06:31:46ID: 24335827

Thanks for the reply. I'm new to this so it will be an hour or 2 before I get back to you.

 

by: glenn_1984Posted on 2009-05-08 at 09:07:27ID: 24337488

I find it easier to use phpform wizard
http://www.tools4php.com/

The demo is not time locked and sufficed for a long time.
The paid version does more and is $28 or $44 with captcha

 

by: ScottRAnderson1Posted on 2009-05-08 at 11:05:24ID: 31579385

glenn 1984,
Thanks for the link. I'm still learning this stuff so the earlier answers were a little beyond my capabilities. The software worked great. Once I learn this stuff I should be able to do it on my own. Thanks to everyone that answered.
Scott

 

by: glenn_1984Posted on 2009-05-08 at 12:53:54ID: 24339617

You are welcome.
However, once I started using this I never went back to "doing it myself".
It was just too clean.

 

by: ScottRAnderson1Posted on 2009-05-08 at 13:16:22ID: 24339838

When I was going to do it myself, 1and1 had an instruction line that said I needed to edit the ssl. I didn't have this option. Would it have been an add on? I went to my web access area and it didn't match their instruction area.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...