Forum Moderators: open
An accommodation site promotes 100 individual properties but uses one common bookings/enquiry form. The problem... how to provide the correct email recipient address from the 100 possibles when the form is submitted.
This is probably a fairly common scenario... anyone know of any off-the-shelf scripts out there that will handle this? Any recommendations on where to look?
Thanks
If it is tied to the property then the link could trigger a slighlty modified version of formmail and insert the appropriate e-mail addy in a hidden input field.
check out [cgi-resources.com...] and [perlarchive.com...] for ready made scripts that may help.
<a href="myform-mail.cgi?foo.com">Contact us</a>
Then the receiving script would pull out the foo.com as the originating site. It would require specific coding of the source mail of course - maybe that isn't what you want.