404 NOT FOUND

Path : /home/skmchikitchaalay/public_html/
File Upload :
Current File : /home/skmchikitchaalay/public_html/send_mail.php

<?php

ob_start();

session_start();

error_reporting(0);

function send_mail($strTo,$strFrom,$strSubject,$strContent){

	$to=$strTo;

	$subject=$strSubject; 

	$headers="MIME-Version: 1.0\r\n";

	$headers.="Content-type: text/html; charset=iso-8859-1\r\n";

	$headers.="From:".$strFrom."\r\n";
	
	$headers.="Cc: sales@skmegg.com"."\r\n";
	
	$isSent = mail($to,$subject,$strContent,$headers);

}

	
	$mailmsg ="";
					
	$mailmsg .= "<style>td { font-family:verdana; font-size:11px; }</style>";

	$mailmsg .= "<table cellspacing='1' cellpadding='5' border='0'  width='400px' bgColor='#7F9EE5'>\n";

	$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> Name </b></td> <td>:</td> <td>".$_REQUEST["name"]."</td>\n</tr>\n";
	
	$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> Company Name </b></td> <td>:</td> <td>".$_REQUEST["company"]."</td>\n</tr>\n";
	
	$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> Contact Number </b></td> <td>:</td> <td>".$_REQUEST["mobile"]."</td>\n</tr>\n";
	
	$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> E-Mail Address </b></td> <td>:</td> <td>".$_REQUEST["email"]."</td>\n</tr>\n";
	
	$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> Country </b></td> <td>:</td> <td>".$_REQUEST["country"]."</td>\n</tr>\n";
	
	if($_REQUEST['items'] != ""){
		$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> Products Selected </b></td> <td>:</td> <td>".$_REQUEST["items"]."</td>\n</tr>\n";
	}
	
	$mailmsg .= "<tr bgColor='#FFFFFF'>\n<td><b> Enquiry / Message </b></td> <td>:</td> <td>".$_REQUEST["message"]."</td>\n</tr>\n";

	$mailmsg .= "</tr></table>\n";
	
	$strTo ="hrd@skmegg.com ";
	
	$strFrom =$_REQUEST["email"];														

	$strSubject = "New ".$_REQUEST["subject"]." on ".date('d-m-Y');

	echo $strContent = $mailmsg;
	
	send_mail($strTo,$strFrom,$strSubject,$strContent);						

	echo $_SESSION['_msg'] = "Your submission successfully sent, We will contact you as soon as possible..!";
	
	header("location:./?page=enquiry"); 

	die();
	

?>


404 NOT FOUND