Page 1 of 1

Choose from a list of email recipients

Posted: Thu Feb 26, 2004 4:13 pm
by kukur
I have a simple php form that sends the form results to:

$recipient="myemail@internet.com"

What I would like to do is make a list in the form that has multiple department's emails:

Sales (sales@internet.com)
Parts (parts@internet.com)
Help (help@internet.com)

How would I go about getting the form to place the email the user chooses into the $recipient value?

Posted: Thu Feb 26, 2004 4:23 pm
by patrikG
You will need to submit the form to a page that receives the variables.

Everything else is covered with viewtopic.php?t=511

Posted: Thu Feb 26, 2004 5:19 pm
by kukur
Thanks Patrik,

That was the nudge I needed.

Posted: Fri Feb 27, 2004 3:06 am
by patrikG
:)

/nudge