I have a checkbox form where different check boxes need to send the form to different email addresses. Right now, no matter the check box, it goes to the same emails.
<span class="clients">
<input type="checkbox" name="blah" value="checkbox" />
Blah</span></p>
<p>
<span class="clients">
going here:
<SCRIPT LANGUAGE="php">
$email = $HTTP_POST_VARS[email];
$mailto ="you@you.com,me@you.com";
$mailsubj = "Quote Request";
$mailhead = "From: nate@therussogroup.com";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
$mailbody .= "$key : $val\n"; }
mail($mailto, $mailsubj, $mailbody, $mailhead);
</SCRIPT>