GOOGLE
<?php if(isset($_POST['submit'])){
extract($_POST);
$to = "info@astwardha.in, vilas.choudhari146@gmail.com";
$subject = "Eamil Enquiry";
$message = "
<html>
<head>
<title>Email Enquiry</title>
</head>
<body>
<table width='100%'>
<tr>
<th>Full Name</th>
<td>".$name."</td>
</tr>
<tr>
<th>Mobile No</th>
<td>".$mobile."</td>
</tr>
<tr>
<tr>
<th>Mobile No</th>
<td>".$email."</td>
</tr>
<tr>
<th>Message</th>
<td>".$message."</td>
</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: <'.$email.'>' . "\r\n";
$headers .= 'Cc: myboss@example.com' . "\r\n";
$mail = mail($to,$subject,$message,$headers);
if($mail){
?>
<script type="text/javascript">
alert("Form Submit Successfully!");
window.location.href='index.php';
</script>
<?php
}
} ?>
Copyright © 1945 -