Enquiry Form : Enquiry from
'.$name.' |
Name |
: |
'.$name.' |
Email |
: |
'.$email.' |
Phone/Mobile No |
: |
'.$phone.' |
Address |
: |
'.$address.' |
Product |
: |
'.$product.' |
Message |
: |
'.$message.' |
';
//echo $message;
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
/*$headers .= 'From: '.$Emailid;
*/
if(@mail("varatharaj.vistas@gmail.com",$subject,"$message",$headers))
{
$url="success.php";
header("Location: ". $url);
}
else
{
$url="error.php";
header("Location: ". $url);
}
}
?>