Hi

Am trying to get email sending right from a form - am getting mighty confused!

the form has a field where the user enters their email.

I then want this form to goto these addresses:
users email - called $email below
conferences@domainOne
admin@domainTwo

Here's my php:

$email = htmlspecialchars(stripslashes(trim($_POST['clientEmail'])));
:
:
$to = 'conferences@domainOne, admin@DomainTwo,'.$email;
$subject = "Venue Booking ...." ;
$headers = "From: ".$email;
$message = "....";

mail ($to, $subject, $message, $headers))

The mail function is wrapped in an "if" statement...


My question is am I ok to set the header to $email AND have it in the $to list?

Thanks