<?php
$mailid = $_POST['email_id'];
if(mail($mailid, "Received your comments (subject)", "<Body of the message>"))
{
echo "Received successfully!";
}
else
{
echo "Error in sending acknowledgement mail. See if your mail server is configured properly";
}
?>