I'm using FormMail.pl created by Matt Wright (2002 version). I've got everything set up but I'm getting an error message "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." I'm trying to update the @recipients part now but when I do I get... "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 think I just either entering the code incorrectly or I'm attempting to edit the wrong recipients field Here is the section of code that I'm editing within the FormMail.pl file... _________________________________ the recipient address end with # # a valid domain or e-mail address as defined in @recipients. # $valid_recipient = 0; foreach $send_to (split(/,/,$Config{'recipient'})) { foreach $recipient (@recipients) { if ($send_to =~ /$recipient$/i) { push(@send_to,$send_to); last; } } } if ($#send_to < 0) { &error('no_recipient') } $Config{'recipient'} = join(',',@send_to) __________________________ when I change (@recipients) to (@recipients = &fill_recipients(@referers)) like I think I'm supposed to thats when I get the internal server error message Can anybody help me? This is my first attempt toying with perl so I'm really new!
Did you place this in your form? <input type=hidden name="recipient" value="email@your.host.com"> Try this for recipients: @recipients = (&fill_recipients('^email@youremail\.com'); Chmod the form to 755 and upload in ascii mode. Hope that helps, Tim