";
$str .= "Website : " . $website . "
";
$str .= "Email : " . $email . "
";
$str .= "Phone : " . $Phone . "
";
$str .= "Message : " . $message . "
";
$from_add = "contact@sparktechsoft.co.in";
$to_add = "kpankaj2467@gmail.com"; //<-- put your yahoo/gmail email address here
$subject = "Enquiry From Website";
$message = $str;
$headers = "From: $from_add \r\n";
$headers .= "Reply-To: $from_add \r\n";
$headers .= "Return-Path: $from_add\r\n";
$headers .= "X-Mailer: PHP \r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
if(mail($to_add,$subject,$message,$headers))
{
$status = "Mail sent Successfully";
}
else
{
$status = "Error sending email!";
}
}
?>