Forum Moderators: phranque

Message Too Old, No Replies

Need help finalizing my Submit Button

         

goneriding

5:00 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



I need assistance with the coding for my submit button. I have implemented the following code:

<form ACTION="path to your form mail program" METHOD="post">
<input type="hidden"name="recipient"value="you@yourdomain.com">

I have set all the parameters into the necessary path and value above. Now when I select the submit button I get a message stating:

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.

What steps should I take to avoid this message and have a functioning submit button?

Thank you.

marcs

10:49 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



The error message seems to indicate that the (recipient) email address is not listed in @recipients.

Edit the formmail script and look for the @recipients line. Change that to :

@recipients = &fill_recipients('^you\@yourdomain\.com');

If more than one recipient is valid, you'll need to add more than one. The formmail ReadMe details this.