Hi all, trying to setup a form and am using formmail.pl setup like this:
# @referers allows forms to be located only on servers which are defined #
# in this field. This security fix from the last version which allowed #
# anyone on any server to use your FormMail script on their web site. #
@referers = ('www.ctwconcrete.com','207.44.232.113');
# @recipients defines the e-mail addresses or domain names that e-mail can #
# be sent to. This must be filled in correctly to prevent SPAM and allow #
# valid addresses to receive e-mail. Read the documentation to find out how #
# this variable works!!! It is EXTREMELY IMPORTANT. #
@recipients = &fill_recipients(@referers);
Which is the standard setup, should work perfectly, the form is setup like this:
<FORM action="http://ctwconcrete.com/cgi-bin/FormMail.pl" method="post" name="contact form" >
<INPUT type="hidden"
value="randall@ctwconcrete.com" name="recipient">
<INPUT type="hidden"
value="http://www.ctwconcrete.com/index.htm" name="redirect">
when I hit submit for www.ctwconcrete.com/contact.html I receive the following:
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.
don't see how this can not work?
Any ideas.