";
//echo $mail_user;
$fname = 'Webcompany Saudiarabia.com';
$femail = 'donotreply@webcompanysaudiarabia.com';
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"{$fname}\" <{$femail}>\n";
$headers .= "Return-Path: {$femail}\n";
$headers .= "Return-Receipt-To: {$femail}\n" ;
//echo $body;
if(mail($to,$subject,$mail_user,$headers))
{
$msg1="Thank You,Your details has been sent successfully!, We will get in touch with you soon.
";
}
else
{
$msg1= "Sorry,Unexpected error,Please try again
";
}
header('location:contactus.php?msg1='.$msg1);
}else {
$msg1 ="Thank You,Your details has been sent successfully!, We will get in touch with you soon.
";
header('location:contactus.php?msg1='.$msg1);
}
}
?>
Web design Saudi Arabia, website design Saudi Arabia, web designers Saudi Arabia, web design company Saudi Arabia - Gulf IT Innovations