Hi there,
If you wanted to send it to a different email address for each option in "Company", you could do something like this in your processing page:
$Company = $_POST['Company'];
if($Company == 'a'){
$emailaddr = 'first@email.com';
}
if($Company == 'b'){
$emailaddr = 'second@email.com';
}
if($Company == 'c'){
$emailaddr = 'third@email.com';
}
Then in your email script, just do this:
$to = $emailaddr;
$subject = "Your email subject";
$message = "Your body goes here.";
$headers = "From: $emailaddr" . "\r\n" . "X-Mailer: PHP/" . phpversion();
mail($to, $subject, $message, $headers);
I'm positive that there are more efficient methods of doing this, but I don't know them and I'm the only who has so far replied, so it seems that I'm the best you've got to work with 🙂
Scary thought...
Hope this helps ya.
thanks,
json