- Orderd Product : ".$bookId."
- Name : ".$name2."
- Email : ".$email2."
- Phone : ".$mobile2."
- Message: ".$msg2."
";
if(mail($to,$subject,$message,$headers))
{
echo "
Your Enquiry was sent successfully. We will get back to you Soon...
";
}
else
{
echo "
Order sending failed!
";
}
}
if($call==2)
{
$to= "info@mayurmarbles.in, anant@mayurmarbles.in, sajjan@mayurmarbles.in";
//$to= "smartestparent@gmail.com";
$from=$email;
$subject ="Mayur Marbles Enquiry";
$headers ="MIME-Version: 1.0\r\n";
$headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$headers .="From: $from\r\n";
$message= "
- Name : ".$name."
- Email : ".$email."
- Phone : ".$phn."
- Message: ".$message."
";
if(mail($to,$subject,$message,$headers))
{
echo "
Your message was sent successfully
";
}
else
{
echo "
Message sending failed!
";
}
}
if($call==1)
{
$to= "info@mayurmarbles.in, anant@mayurmarbles.in, sajjan@mayurmarbles.in";
//$to= "smartestparent@gmail.com";
$from=$email1;
$subject ="Mayur Marbles Quick Enquiry";
$headers ="MIME-Version: 1.0\r\n";
$headers .="Content-type: text/html; charset=iso-8859-1\r\n";
$headers .="From: $from\r\n";
$message= "
- Name : ".$name1."
- Email : ".$email1."
- Phone : ".$mobile1."
- Message: ".$msg1."
";
if(mail($to,$subject,$message,$headers))
{
echo "
Your message was sent successfully
";
}
else
{
echo "
Message sending failed!
";
}
}
?>
Contact Us