|
My only guess is that you are making use of the PHP 'Mail' function.
Your detail is a little confusing?
Do you want, when a form is submited, for that to then send an email, to your own web sites email addresses to that of your admin staff.
And to have this email directed to a particular address, depending on what is in the form being submitted.
------- Step 1 ---------
The form page must ask, ~what is the purpose of this contact~
With Radio buttons, let them select from
+Complain about you
+I must contact the boss
+I need help to do Job type X
+I need help to do job type Y.
------- STEP 2 -------
The PHP program recieving this form, should then use the Switch Case statements.
If the responce is 'complain abuot you' Then, this must go to email address A.
When you get to the mail function, just use the variable in the 'who to send it to' column'.
-----------------
I hope this is of some help
|