\r\n"; $message = ""; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= "
A Contact form was submitted on " . $date . "
Name: " . $name . "
Phone: " . $phone . "
Email: " . $email . "
Interested in Property Type: " . $type . "
Comments: " . $comment . "
From Site:".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']."
"; mail($to,$subject,$message,$headers); include('thankyou.php'); } else { ?>