File: //backups/800/mail.php
<?php
require_once('function.php');
#print_r($_POST['email']);
$data = $_POST;
if (isset($_POST['email']))
{
$subject = "User's Contact Information from 800 landing Page";
$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>{$data['name']}</td>
</tr>
<tr style='background: #eee;'>
<td>Email:</td><td>{$data['email']}</td>
</tr>
<tr style='background: #eee;'>
<td>Email:</td><td>{$data['mobile']}</td>
</tr>
<tr style='background: #eee;'>
<td>Email:</td><td>{$data['home']}</td>
</tr>
<tr style='background: #eee;'>
<td>Message:</td><td>{$data['message']}</td>
</tr>
</tbody>
</table>";
$to = "rishabh.kumar@digitalwebsolutions.in, ankita.chauhan@digitalwebsolutions.in";
$from = "info@dev.mobilewebsitepro.com";
$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);
leadTracker( $data);
$redirect = 'thankyou.html';
echo "<script>window.location='{$redirect}';</script>";
}
?>