
PK 
<?php
//mail to admin for contacting users
$subject = 'Deepanshi Arora Contact Us Enquiry';
$to_email="info@deepanshiarora.com";
// Message
$message = '<table cellpadding="0" cellspacing="0" style="width:600px; margin:0px auto; color:#7b7b7c; vertical-align:middle; font-family:Arial, Helvetica, sans-serif; font-size:16px;">
<tr>
<td> </td>
</tr>
<tr>
<td style="color:#333;"><strong>Hi, Admin</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>You have been received a query.</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width:600px; margin:0px auto; color:#7b7b7c; vertical-align:top; font-family:Arial, Helvetica, sans-serif; font-size:14px; line-height:22px;">
<tr>
<td> </td>
</tr>
<tr>
<td style="color:#333;" colspan="3"><strong>Contact Details</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width="200px;">Name</td>
<td width="20px;">:</td>
<td width="380px;">vinay</td>
</tr>
</table>';
// To send HTML mail, the Content-type header must be set
$headers[] = 'MIME-Version: 1.0';
$headers[] = 'Content-type: text/html; charset=iso-8859-1';
// Additional headers
//$headers[] = 'To: '.$to_email.' <mary@example.com>, Kelly <kelly@example.com>';
$headers[] = 'From: Deepanshi Arora <info@deepanshiarora.com>';
//$headers[] = 'Cc: 007vinaybhardwaj@gmail.com';
// Mail it
$sendmail = mail($to_email, $subject, $message, implode("\r\n", $headers));
if ($sendmail == true) { ?>
<script type="text/javascript">
alert("Sucessfully");
</script>
<?php
}else{ ?>
<script type="text/javascript">
alert("failed");
</script>
<?php
}
// end mail send
?>


PK 99