Contact Me

IsHTML(true); $mail->From ='REMAXWebmaster@nwhomes.net';//$email; $mail->Sender = 'REMAXWebmaster@nwhomes.net';//$email; $mail->FromName = $first_name ." ". $last_name; $mail->AddAddress($address); $mail->Subject = "Contact Form Submission - ".$subject; if(!$exists && empty($_POST['agent_email'])) { $msg = '

The user has been assigned to three agents. To claim the lead you must be the first to accept the user.

'; } $msg .= getFormVars('post'); $mail->Body = $msg; $mail->AltBody = getAltFormVars('post'); $mail->Send(); // Send mail to lead // Get the auto responder message from the db $auto_responder = mysql_fetch_assoc(mysql_query("SELECT * FROM auto_responders WHERE id = 3 AND `active`='Y'")); $notes = array(); if (!empty($auto_responder)) { /** * Send Email to New User */ $user_mailer = new PHPMailer(); $user_mailer->Sender = $address; $user_mailer->From = $auto_responder['from_email']; $user_mailer->FromName = $auto_responder['from_name']; $user_mailer->AddAddress($email, $first_name ." ". $last_name); $user_mailer->Subject = $auto_responder['subject']; $user_mailer->IsHTML((($auto_responder['is_html'] == "true") ? true : false)); /* Parse Email Message */ $this_message = $auto_responder['document']; $this_message = str_replace("{first_name}", $first_name, $this_message); $this_message = str_replace("{last_name}", $last_name, $this_message); $this_message = str_replace("{email}", $email, $this_message); $user_mailer->Body = $this_message; /* Send Email */ $user_mailer->Send(); $notes[] = array( 'type' => 'Email', 'note' => $user_mailer->Body ); } $sent = "
Thanks!

We'll get back to you as soon as possible. Thanks for your interest!

"; /** Contact Manager Snippet ***/ $fieldList = array( 'first_name' => 'onc5khko', 'last_name' => 'sk5tyelo', 'email' => 'mi0moecs', 'phone' => 'telephone', 'comments' => 'comments', 'addresses' => 'addresses', 'my_agent_id' => 'my_agent_id', ); collectContactData($fieldList, 'POST', 'Contact Form', $notes); } else { $sent = "

Oops! Your Form Contains Errors.

Please correct the following errors and resubmit the form.

  • Unknown Error
"; } // SPAM MONIROTING $monitor_mail = new PHPMailer; $monitor_mail->FromName = "Spam Detector - " . $package['headers']['Host']; $monitor_mail->From = "spamstop@realestatewebmasters.com"; $monitor_mail->IsHTML(true); $monitor_mail->Subject = "Spam Detector - " . $package['headers']['Host']; $monitor_mail->Body .= ($spam) ? $spam ." Spam Code
": "Spam Free
"; $monitor_mail->Body .= ($package['is_browser'] == false) ? "Fake Browser
" : "Good Browser
"; $monitor_mail->Body .= ($fake) ? "Fake submit
" : "Good Submit
"; $monitor_mail->Body .= '
' . print_r($package,true) . '
'; $monitor_mail->AddAddress("rewcron@gmail.com"); $monitor_mail->Send(); // END SPAM MONITORINGRING } else { $sent = "
Oops, There was an Error with your Form Submission!
    "; $sent .= (!$email_test) ? '
  • You must provide a valid email address
  • ' : ''; $sent .= (!$first_name_test) ? '
  • You must provide your first name
  • ' : ''; $sent .= (!$last_name_test) ? '
  • You must provide your last name
  • ' : ''; $sent .= "
"; } } echo $sent; ?>

Contact Us

* Indicates a Required Field.

Please provide a valid email address.