Forum Moderators: phranque
<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.
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.