Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Web email form - not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web email form - not working

 Post Reply Post Reply
Author
dream74 View Drop Down
Newbie
Newbie


Joined: 15 May 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dream74 Quote  Post ReplyReply Direct Link To This Post Topic: Web email form - not working
    Posted: 15 May 2008 at 11:48am
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
 
 
 
Error: Bad/No Recipient
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">&nbsp;</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>
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2008 at 12:17pm
I'm not sure if this is any help, but I have been using Bruces brilliant forms package. Its FREE and can be adjusted fairly easily to suit your requirements, and the information on how to use it seems a bit better than the above email package

The download link is here
Back to Top
dream74 View Drop Down
Newbie
Newbie


Joined: 15 May 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dream74 Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2008 at 12:26pm
Thanks for that link.  I would rather get this going as its easier to work through my isp/web host once I have worked out what bit I need to change!! If it ends up being dificult in that I need to change loads then I may end up using your link - so many thanks :)
 
Anyone know what I need to do?
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2008 at 1:06pm
I wouldn't use this formmail.cgi as you will get issues.

CGI has not been widely used for over a decade and as a result things have moved on since this was written with many web hosts requiring that you use authentication when sending emails through their mail servers.

Also from the point of security a spammer could very easily manipulate this type of CGI script to sendout spam., both remotely relay and to your own inbox, and should be avoided.

You should instead look for something in ASP, or ASP.NET if you use a Windows web server or PHP if using a Linux web server.

Your web host should be able to help futher as they should be able to tell you what type of script/application to use and any SMTP and authentication settings required inorder to send emails from website forms.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.