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);
?>