Northeast Phoenix
Rich Temen
Cell: (480) 861-6774 - FAX: (480) 422-0311
Email: rich.temen@gmail.com
// Start here if (isset($_REQUEST['NAME'])) { //if "Name" is filled out, proceed //check if the email address is invalid // $mailcheck = spamcheck($_REQUEST['emailaddress']); // if ($mailcheck==FALSE) // { // echo "Invalid input"; // } // else // { //send email $email = $_REQUEST['EMAIL'] ; $subject = $_REQUEST['SUBJECT'] ; // $message = ""; $message .= "

Contact Request from " . $_REQUEST['SOURCE'] . "

"; $message .= "Contact Name: " . $_REQUEST['NAME'] . "
"; $message .= "Contact's Email Address : " . $email . "
"; $message .= "Contact's Phone Number: (" . $_REQUEST['PHONE_AREA_CODE'] . ") " . $_REQUEST['PHONE_LOCAL_CODE'] . "-" . $_REQUEST['PHONE_NUMBER'] . "

"; $message .= "Home Address: " . $_REQUEST['STREETADDRESS'] . " " . $_REQUEST['CITY'] . " " . $_REQUEST['STATE'] . " " . $_REQUEST['ZIP'] . "
"; $message .= "Bedrooms: " . $_REQUEST['BEDROOMS'] . "
"; $message .= "Bathrooms: " . $_REQUEST['BATHROOMS'] . "
"; $message .= "Square Footage: " . $_REQUEST['SQUAREFOOTAGE'] . "
"; $message .= "Garages: " . $_REQUEST['GARAGES'] . "
"; $message .= "Property Type: " . $_REQUEST['PROPERTYTYPE'] . "
"; $message .= "Plan to Sell By: " . $_REQUEST['PLANTOSELL'] . "
"; $message .= "Listing Status: " . $_REQUEST['LISTINGSTATUS'] . "
"; $message .= "Comments: " . $_REQUEST['COMMENTS'] . "
"; // if ($_REQUEST['SOURCE'] == "Web Page") // { // $message .= "Message:
" . $_REQUEST['COMMENTS'] . "
"; // } // if ($_REQUEST['SOURCE'] == "My Ads") // { // $message .= "Subdivision: " . $_REQUEST['SUBDIVISION'] . "
"; // $message .= "ZIPCODE: " . $_REQUEST['ZIPCODE'] . "
"; // } $from = "Rich.Temen@cox.net"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=iso=8859-1\r\n"; $headers .= "From: " . $from . "\r\n"; mail("rich@richtemen.realtor", $subject, $message, $headers); } // } // else // { //if "emailaddress" is not filled out, display the form // echo "
// Email:
// Subject:
// Message:
//
// //
"; // } // header("Location: https://richtemen.com/thankyou.html"); ?>

Submitting Contact Request

Thank you for your request. I will contact you as soon as I am available.

Home