hi all;

i have a code that would send in two person, after submmited the form, only one person recieve the email

here is my code;

<?php
$name    = $_POST['name'];
$sender  = $_POST['e-mail'];
$phone   = $_POST['phone']; 
$subject = $_POST['subject']; 
$message = $_POST['message']; 
$email = $_POST['email'];

$sendTo = $email;
$return_to ="frank@xxxxxxx.xxx";
$subject = '$subject';
$headers = "From: ".$_POST['name']." ".$_POST['phone']. "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " .$return_to;
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);

?>

you have to use another mailid in the headers only...

$mailheader .= 'BCc:some@some.com' . "\r\n";

and use one mail id in $sendto....

you have to use another mailid in the headers only...

$mailheader .= 'BCc:some@some.com' . "\r\n";

and use one mail id in $sendto....

Hi Shanthi..
for the same code ,,can u explain Autoreply confirmation to users...
plz...


Thanks in Advamce..

This question has already been answered. Start a new discussion instead.