cancel
Showing results for 
Search instead for 
Did you mean: 

Formmail problem - @recipients error

leecook
Member

Hi, I have used dreamweaver to create my contact.htm page. In the code I have added:

 

  <form action="/cgi-bin/formmail" method="POST" id="ContactForm">
  <input TYPE="hidden" NAME="recipient" VALUE="myemail@btconnect.com">
  <input TYPE="hidden" NAME="subject" VALUE="mysubject">
  <input TYPE="hidden" NAME="email" VALUE="postmaster@mydomain.co.uk">

 

I have then used the plug in script in the website centre to add the formmail. I entered the recipient as my email address and also added a name for the email subject. I then clicked install and the file was inserted into the cgi-bin folder.

 

When I fill in my contact form on my website I get the following error:

 

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.

 

Please can anyone help me. I have tried various things but no joy.

 

Thanks

11 REPLIES 11

JohnE
Guru

When you install a plug - in script in the Website Centre, it will return some code which you should insert into your page code.  did you do this?

leecook
Member

Hi, thanks for your reply. Yes I did post this code into my form. The code looked like this:

 

  <form action="/cgi-bin/formmail" method="POST" id="ContactForm">
  <input TYPE="hidden" NAME="recipient" VALUE="archerswebdesign@btconnect.com">
  <input TYPE="hidden" NAME="subject" VALUE="Archers Form Submission">
  <input TYPE="hidden" NAME="email" VALUE="postmaster@archerswebdesign.co.uk">

 

What I haven't done though is actually go into the formmail document that was created and change anything. Do I have to do this? I thought that the plug in wizard made these changes for me anyway which is why I have left it.

 

Lee

JohnE
Guru

Yes, you will need to edit the approriate page code.  All the installation process does is install thescript in the CGI Bin.  The code is generated for you to insert into the page code.  Any other coding would also need to be done manually.

leecook
Member
Thanks. Do you mean edit the page code as in the form page code? This I have done by inserting the code that the script generated. I think I am going wrong with the formmail file that is created. How do I edit this? if I open in Dreamweaver and save it and then upload again I get an error saying it is not recognised when I try and submit the form. I also tried to do it in notepad but got the same problem. I can't seem to edit this file and get it back in without it then creating an error.

leecook
Member

Hi, please can anyone help.

 

After trying lots of different things I now get the following error message when i submit the form:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, or webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log

 

I am starting to pull my hair out now as I just can't get this to work.

 

Please......anyone?

JohnE
Guru

I'd advise a call to the Technical helpdesk now, leecook.  You can be transferred to a specialist who may be able to help you unravel this.  Contact Us

leecook
Member

Thanks JohnE,

 

I will give it a go and see if they can help.

 

Lee

trolleybus
Member

I have read through this thread where it is obvious seome initial steps are reguired to get Form Mail into the cgi-bin folder.

 

Please point me towards the instructions to this.

 

David Bradley

 

 

tidaltides
Power User

I agree. If anyone can post the link to this instruction, it would be great.