Here is my simple mail function that is located on page 2. Page 1 holds the form that passes the fields on to page 2. for some reason I am yet to get a damn email...
The site is currently under construction but when i test it it aint working. Same goes for all my other mail forms on other sites. They all follow similar logic
sometime you just gotta say "WHAT THE @#*% !!"
The site is currently under construction but when i test it it aint working. Same goes for all my other mail forms on other sites. They all follow similar logic
Code:
<? if (!isset($email)){
header("Location: [URL unfurl="true"]http://www.cascadecasinosolutions.com/corporate/register.php");[/URL]
}
else {
$msg = "MR/MRS:\t$mr\n";
$msg .= "First Name:\t$first\n";
$msg .= "Last Name:\t$last\n";
$msg .= "Middle Initial:\t$middle\n";
$msg .= "JR/PHD/ETC:\t$jr\n";
$msg .= "Email:\t$email\n";
$msg .= "Phone Number:\t$phone\n";
$msg .= "Fax:\t$fax\n";
$msg .= "Title:\t$title\n";
$msg .= "Company:\t$company\n";
$msg .= "Street1:\t$street1\n";
$msg .= "Street2:\t$street2\n";
$msg .= "City:\t$city\n";
$msg .= "State:\t$state\n";
$msg .= "Country:\t$country\n";
$msg .= "Zip:\t$zip\n";
$msg .= "Job:\t$job\n";
$msg .= "Function:\t$function\n";
$msg .= "Do They Want More Info In The Future:\t$info\n";
mail("darryn@cascadecorp.com", "Register for Case Histories on Cascadepromotions.com",
$msg, "From: $email");
}
?>
sometime you just gotta say "WHAT THE @#*% !!"