include("phpmailer/class.phpmailer.php");
include("miscFunction.php");
import_request_variables("gP");
//print_r($_POST);
if(isset($_POST['submit_x']))
{
$subject = "Muthoot Anti Ragging - Feedback";
$mailString = '
Name |
: |
'.ucfirst($name).' |
E-Mail |
: |
'.$email.' |
Comment |
: |
'.nl2br($comment).' |
';
//$send = mailFunction($subject,$name,$email,$fromemail,$mailString);
$send = mailFunction($subject,"Administrator - Muthoot Antiragging",ADMIN_MAIL,$email,$mailString);
$send = mailFunction($subject,"Administrator - Muthoot Antiragging","saju@muthoot.com",$email,$mailString);
$send = mailFunction($subject,"Administrator - Muthoot Antiragging","georgie@muthoot.com",$email,$mailString);
$send = mailFunction($subject,"Administrator - Muthoot Antiragging","rajeev@netbios.in",$email,$mailString);
if($send)
{
$msg = "Your comment has been posted successfully ";
}
else
{
$msg = "Unable to post comment.
Try again !";
}
}
//
?>
Muthoot Anti Ragging