$to = “maheshkanna@gmail.com”;
$name = $_POST[‘name’];
$company = $_POST[‘company’];
$email = $_POST[’email’];
$landline = $_POST[‘landline’];
$mobile = $_POST[‘mobile’];
$message = $_POST[‘message’];
$email_body = ”
<style type=’text/css’>
td {
color: #414141;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
line-height: 16px;
text-decoration: none;

<title>You have received a new message From IICAcademy</title>
<strong>You have received a new request info message From IICAcademy</strong>
<p>Here are the details:</p>
<table border =’0′>
<td > Name</th><td>$name</td>
<td>Company </th><td>$company</td>
<td >Land Line Number</th><td>$landline</td>
<td>Mobile Number</td><td>$mobile</td>

// Always set content-type when sending HTML email
$headers = “MIME-Version: 1.0” . “\r\n”;
$headers .= “Content-type:text/html;charset=iso-8859-1” . “\r\n”;

// More headers
$headers .= “From: $email”. “\r\n”;
//redirect to the ‘thank you’ page
echo”<script language=\”javascript\”>\n”;

echo”alert(‘Your Message has been submitted’)\n”;

echo “window.location= (‘request-more-info.html’);\n”;

echo “</script>”;

//header(‘Location: request-more-info.html’);