u could just rename "subject_type" to "recipients" and have the option values be the email addresses (or email aliases would be better)
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
I would like to define who gets the recipient email (<input type="hidden" name="recipients" value=) depending on the response to a form field. For example if applicant selects option 1 to a form field called [subject_type] then person1@email1.com gets the recipient email, whereas if the applicant selects option 2 then person2@anotheremail.com gets the message.
I use a fmhookpreemail.inc.php file (to populate a database) and wondered if anything could be done there perhaps to achieve this?
Thanks in anticipation.
Colin
u could just rename "subject_type" to "recipients" and have the option values be the email addresses (or email aliases would be better)
Thanks for that, yes a simple solution when complicated was expected!
Colin
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks