"; if (!preg_match("(^[-\w\.]+@([-a-z0-9]+\.)+[a-z]{2,4}$)i",$inputArray['email'])) $errors .= "Email address is not valid
"; if (!empty($inputArray[phone])) if (!preg_match("(^[-0-9\(\)\.]{7,}$)i",$inputArray[phone])) $errors .= "Phone number is not valid
"; if (!preg_match("([\w]+)",$inputArray['content'])) $errors .= "Your message is empty
"; // max messages if (empty($errors)) $_SESSION['msgCount']++; if ($_SESSION['msgCount'] >= "4") $errors .= "Messages have exceeded the maximum number allowed"; // stop if errors if (!empty($errors)) { return "Your message was not sent
".$errors; } // remove any input array variables not to be included in output email unset($inputArray['send']); // scrub variables foreach ($inputArray as $key=>$value) { $inputArray[$key] = trim($inputArray[$key]); $inputArray[$key] = stripslashes($inputArray[$key]); $inputArray[$key] = htmlspecialchars($inputArray[$key],ENT_QUOTES); $inputArray[$key] = wordwrap($inputArray[$key],65,"
"); } // need to use the config parms in this routine global $subject,$emailaddress,$fromaddress,$thankyouPage; // set headers if (empty($fromaddress)) $fromaddress = $inputArray['email']; $headers = 'MIME-Version: 1.0'."\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1'."\r\n"; $headers .= "From: website<".$fromaddress.">\r\n"; // format message $message = ""; foreach ($inputArray as $key => $value) $message .=""; $message .= "
$key$value
"; // add source info to the message $message .= "
Time of the message: ".date(" F d h:ia")."
"; $message .= "IP Address: ".$_SERVER['REMOTE_ADDR']."
"; $message .= "Hostname: ".gethostbyaddr($_SERVER['REMOTE_ADDR'])."
"; // send message if (!mail($emailaddress,$subject,$message,$headers)) return "There was a processing error
Your message was not sent"; if (!empty($thankyouPage)) { header('location: '.$thankyouPage); die(); } global $_POST; unset($_POST); return "Thank you
Your message has been sent"; } if (!isset($_SESSION['msgCount'])) $_SESSION['msgCount'] = 0; if (isset($_POST['send']) AND isset($_SESSION['msgCount'])) $message = processMail($_POST); if (!empty($_POST)) { foreach ($_POST as $key=>$value) { $_POST[$key] = stripslashes($_POST[$key]); $_POST[$key] = htmlspecialchars($_POST[$key],ENT_QUOTES); } } ?> The Auction House Sacramento

 

Email notification request

If you would like to be notified when the upcoming auction pictures have been posted and receive your flyer in the email days before you receive it in the email, sign-up for our email list below. We do not share nor sell this list with anyone else.


Contact Us

Enter your name


Enter your email address


Enter your phone number


Tell us what we can do for you