404 NOT FOUND

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

<?php

ob_start();

session_start();

error_reporting(0);

include('smpt_mail/smtpconfig.php');
include('smpt_mail/smtpclass.php');

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.="Bcc: info@c-infosoft.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> 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> City Name </b></td> <td>:</td> <td>".$_REQUEST["city"]."</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 = "consult@skmchikitchaalaya.com";
	
	$strFrom = $_REQUEST["email"];														

	$strSubject = "New Enquiry on ".date('d-m-Y');

	$strContent = $mailmsg;
	
	//send_mail($strTo,$strFrom,$strSubject,$strContent);	
	
	$SMTPMail = new SMTPClient ($SmtpServer, $SmtpPort, $SmtpUser, $SmtpPass, $strFrom, $strTo, $strSubject, $strContent);
	
	$SMTPChat = $SMTPMail->SendMail();

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

	die();
	

?>


404 NOT FOUND