File: /home/design11/www.nexthomere.com/feedback.php
<?php
// recipient's email address
$to = 'info@kmedialab.com';
// subject of the message
$re = 'Showing Request';
// message from the feedback form
$msg = $comments;
// set the Content-type header for HTML mail
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
// set the From header
$headers .= "From: $useraddr \r\n";
$headers .= "Cc: programmabilities@your-email-address.com \r\n";
// send the email now...
mail($to,$re,$msg, $headers);
?>
<html><head><title>Message Received</title></head>
<body>
<h3>Thanks for your comments to Programmabilities</h3>
Message received from <?php echo($username); ?><br/>
Reply to <?php echo($useraddr); ?>
</body></html>