Hi,
I have the following email form on my html page (see below)
I have the cgi script in the correct place but when I click submit I get this error message:
Can anyone help / tell me what I am doing wrong?? Thanks
There was no recipient or an invalid recipient specified in the data sent to FormMail. Please make sure you have filled in the recipient form field with an e-mail address that has been configured in @recipients. More information on filling in recipient form fields and variables can be found in the README file.
FormMail V1.92 © 1995 - 2002 Matt Wright A Free Product of Matt's Script Archive, Inc. |
Form script: (Note address is in place of a real web address I am using.
To test the script I have used the correct webaddress but used my own email address to check what comes through...would this effect it??
<h2>Contact Us</h2>
<form action="
http://www.address.co.uk/form/FormMail.cgi" method="post">
<div align="right">
<input type="hidden" name="recipient" value="
sales@address.com">
<input type="hidden" name="subject" value="This is a test">
<input type="hidden" name="redirect" value="
http://www.address.co.uk">
</div>
<p align="right">
<label>Contact Name
<input name="textfield" type="text" size="30" />
</label>
</p>
<p align="right">
<label>Business Name
<input name="textfield2" type="text" size="30" />
</label>
</p>
<p align="right">
<label>Business Address
<input name="textfield3" type="text" size="30" />
</label>
</p>
<p align="right">
<label>City
<input name="textfield4" type="text" size="30" />
</label>
</p>
<p align="right">
<label>County
<input name="textfield5" type="text" size="30" />
</label>
</p>
<p align="right">
<label>Post Code
<input name="textfield6" type="text" size="30" />
</label>
</p>
<p align="right">
<label>Telephone Number
<input name="textfield7" type="text" size="30" />
</label>
</p>
<p align="right">
<label>Mobile Number
<input name="textfield8" type="text" size="30" />
</label>
</p>
<p align="right">
<label>Email Address
<input name="textfield9" type="text" size="30" />
</label>
</p>
<p align="right"> </p>
<p align="right">
<label>Aproximate number of items you would like to be tested
<input name="textfield10" type="text" size="30" />
</label>
</p>
<p align="right">
<label>When would you like the work to be carried out?
<input name="textfield11" type="text" size="30" />
</label>
</p>
<div align="right">
<p><br/>
<input value="Submit " type="submit">
</p>
<p>
<input value="Clear Form" type=reset>
</p>
</div>
</form>
<p>
<label></label>
</p>
<p align="right">
<label></label>
<label></label>
</p>
</form>