Hi,
I am making a contact form in a new site.
One of the fields is a drop down menu with the subject of the message.
I need to make that ONLY if the subject is COntact Webmaster, then the recipient of the message will be my email address. All other subjects should go to the daulft email address.
But I can’t just set the values for each option with the email address that it should go, because I need the subject field on the email to have the subject and not the recipient email address.
Maybe, I made you confuse. Let me add, the form will send the info to aPHP script that will then send the email with the filled fields.
Is it easier to make a rule to change the recipient based on the subject in the HTML file, or in the PHP?
Do you now how to do that?
All I need is to have something like (in common writing)
if subject=contact webmaster
then
recipient==
else
recipient==default@domain…
See what I mean? How can I do that?
Thanks for yout time…
Yan