<?php

// Just to be on the safe side - I'll strip out HTML tags
// (scripting code may mess with some email clients)
$Name = $_REQUEST['Name'];
$Email = $_REQUEST['Email'];
$Mobile = $_REQUEST['Mobile'];
$Message = $_REQUEST['Message'];


// setup variables
$sendto = "ajay@adiobrandsolutions.com";
$subject = "REQUEST A CALL BACK";
$message = "Name: $Name\n
Email: $Email\n
Mobile: $Mobile\n
Message: $Message";


// send email
mail($sendto, $subject, $message, "From: $Email");
//header( "Location: http://www.amplhomes.com/thanks.php" );
echo ("<script>
    window.location = 'https://www.adiobrandsolutions.com/thanks.php';
</script>");
?>
