Ok so i set up my form, it says it works, but its not. I am not receiving the emails in my inbox or spam box how do i make it work??
http://204.12.217.114/~frankrem/
and
http://204.12.217.114/~frankrem/sendmail.php
thought you could access it, but here is the part that matters i guess
<?php
$property = (isset($_POST["property"])?trim($_POST["property"]):"");
$Location = (isset($_POST["Location"])?trim($_POST["Location"]):"");
$MaximumPrice = (isset($_POST["MaximumPrice"])?trim($_POST["MaximumPrice"]):"");
$Contact = (isset($_POST["Contact"])?trim($_POST["Contact"]):"");
$FromName = (isset($_POST["FromName"])?trim($_POST["FromName"]):"");
$PhoneNbr = (isset($_POST["PhoneNbr"])?trim($_POST["PhoneNbr"]):"");
$FromEmail = (isset($_POST["FromEmail"])?trim($_POST["FromEmail"]):"");
$Moving = (isset($_POST["Moving"])?trim($_POST["Moving"]):"");
$Realtor = (isset($_POST["Realtor"])?trim($_POST["Realtor"]):"");
$Remarks = (isset($_POST["Remarks"])?trim($_POST["Remarks"]):"");
if(!empty($FromName)||!empty($FromEmail)||!empty($ PhoneNbr)){
mail("[email protected]", $property, $Location, $MaximumPrice, "From: $email");
header("Location: http://204.12.217.114/~frankrem/success.htm");
exit;
}
?>
its on linux and here is the rest of sendmail.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Send email</title>
</head>
<body>
<?php
echo "<h1>Error</h1>\n<p>You did not fill in all fields.</p>\n";
?>
</body>
</html>
OR TRY
http://204.12.217.114/~frankrem/sendmail.txt
Bookmarks