<?php



        // If CAPTCHA is successfully completed...

		

		/*$to = "indicar@bluewin.ch";*/

		$to = "kapilaj@lerobotics.lk";
		//$to = "chithranga@gmail.com";

		$subject = "IE Robotics";

		$from = $_REQUEST[email];

		$message = "

		<html>

		<head>

		<title>IE Robotics Contact Us</title>

		</head>

		<body>		

		<table>

		<tr><td>First Name : </td><td>".$_REQUEST[name]."</td></tr>

		<tr><td>Email : </td><td>".$_REQUEST[email]."</td></tr>

		<tr><td>Message : </td><td>".$_REQUEST[message]."</td></tr>

		</tr>



		</table>

		</body>

		</html>

		";



		// Always set content-type when sending HTML email

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

		$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";



		// More headers

		$headers .= 'From: '.$_REQUEST[email]. "\r\n";

		$headers .= 'Cc:' .$to . "\r\n";



		mail($to,$subject,$message,$headers,$from);

		header('Location: ourstory.php?sent=ok#contactus');

    

?>





