Hi ,
I need help to solve this problem
This is the PHP coding
<?php
if((isset($HTTP_POST_VARS[“MM_insert”])) && ($HTTP_POST_VARS[“MM_insert”] == “form1”)){
$email_from = $_POST['email']; // Who the email is from
$email_subject = "New Reservation"; // The Subject of the email
$email_txt="Name: ".$_POST['name']."<br>";
$email_txt.="Contact: ".$_POST['contact']."<br>";
$email_txt.="Email: ".$_POST['email']."<br><br>";
$email_txt.="Premises: ".$_POST['premises']."<br>";
$email_txt.="Bedroom Type: ".$_POST['bedrooms']."<br>";
$email_txt.="No Of Pax: ".$_POST['pax']."<br>";
$email_txt.="Check in date: ".$_POST['indate']."<br>";
$email_txt.="Check out Date: ".$_POST['outdate']."<br><br>";
$email_txt.="Enquiry: ".$_POST['enquiry']."<br>";
$email_to = "retribution_2005@hotmail.com"; // Who the email is too
$headers = "From:".$email_from;
$semi_rand = md5(time());
$mime_boundary = "==Multipart_Boundary_x{$semi_rand}x";
$headers .= "\
MIME-Version: 1.0
" .
“Content-Type: multipart/mixed;
" .
" boundary=\”{$mime_boundary}\“”;
$email_message = "This is a multi-part message in MIME format.\
" .
"–{$mime_boundary}
" .
"Content-Type:text/html; charset=utf-8
" .
"Content-Transfer-Encoding: 7bit
" .
$email_txt . "
";
$ok = @mail($email_to, $email_subject, $email_message, $headers);
header( 'Location: reservation.php?status=ok' ) ;
}
?>