File: //backups/3d-barrier-landing-page/second-mail.php
<?php
if (isset($_POST['submit']))
{
$subject = "3D Barrier Bags Contact Details";
$message = "<table style='border-collapse: collapse' border='1' cellspacing='0' cellpadding='6'>
<tbody>
<tr style='background: #47B7E8; color: #ffffff;'>
<th colspan='2'>Contact Information</th>
</tr>
<tr style='background: #eee;'>
<td>Name</td><td>{$_POST['sfname']}</td>
</tr>
<tr style='background: #eee;'>
<td>Email</td><td>{$_POST['sfemail']}</td>
</tr>
<tr style='background: #eee;'>
<td>Phone</td><td>{$_POST['telphone']}</td>
</tr>
<tr style='background: #eee;'>
<td>Best Time To Call</td><td>{$_POST['sftime']}</td>
</tr>
</tbody>
</table>";
$to = "himanshu.singh@digitalwebsolutions.in";
//$to = "abhishek.shah@digitalwebsolutions.in";
$from = $_POST['email'];
$headers .= 'MIME-Version: 1.0'."\r\n";
$headers ="From: $from \r\n";
$headers .= 'Content-type:text/html;charset=iso-8859-1'."\r\n";
@mail($to,$subject,$message,$headers);
$redirect = 'index.html';
echo "<script>window.location='{$redirect}';</script>";
}
?>