1 ){ echo "More than one email address given, please go back and correct this error!"; } else{ $shadow = "on"; // include the phpmailer scripts here and you are good to go //$contact = $name; include('./scripts/php/php_mailer/class.phpmailer.php'); $msg = "

$contact would like to be contacted about selling their home.

"; $msg.= "

Contact Info

"; $msg.= "

Name: $contact

"; $msg.= "

Email: $email

"; $msg.= "

Phone Number: $phone

"; $msg.= "

Address: $address

"; $msg.= "

City: $city

"; $msg.= "

State: $state

"; $msg.= "

ZIP: $zip

"; $msg.= "

Listing Info

"; $msg.= "

Property Type: $type

"; $msg.= "

Bedrooms: $bed

"; $msg.= "

Bathrooms: $bath

"; $msg.= "

Price: $price

"; $msg.= "

City: $city2

"; $msg.= "

Special Amenities: $amenities

"; $mail = new PHPMailer(); $mail->IsSMTP(); $mail->HOST = "67.227.197.19"; $mail->SMTPAuth = true; $mail->Username = "contact-me@patlotz.com"; $mail->Password = "dozzer01"; $mail->From = "cs@michiganhomesforeclosures.com"; $mail->FromName = "Michigan Homes Foreclosures Website"; $mail->AddAddress("pat@patlotz.com"); $mail->AddAddress("skilotz@gmail.com"); //$mail->AddAddress("jnashif@us-mattress.com"); //$mail->AddAddress("jaybale@gmail.com"); $mail->AddReplyTo($email,$contact); $mail->WordWrap = 150; $mail->IsHTML(true); $mail->Subject = "Contact Request From Website"; $mail->Body = $msg; $mail->AltBody = "$contact would like to be contacted regarding, $email"; $success = false; if( !$mail->Send() ){ // it's failed lets put in error stuff $error = "YES"; $err_msg = "There was a problem sending your service request, please go back and re-send your message"; $err_msg .= "
" . $mail->ErrorInfo; } else{ $mail2 = new PHPMailer(); $mail2->IsSMTP(); $mail2->HOST = "67.227.197.19"; $mail2->SMTPAuth = true; $mail2->Username = "contact-me@patlotz.com"; $mail2->Password = "dozzer01"; $mail2->From = "cs@michiganhomesforeclosures.com"; $mail2->FromName = "Michigan Homes Foreclosures Website"; $mail2->AddAddress($email,$contact); //$mail2->AddAddress("pat@patlotz.com","Pat Lotz"); $mail2->AddReplyTo($email,$contact); $mail2->WordWrap = 150; $mail2->Subject = "Your Contact Request Has Been Sent"; $mail2->Body = "

Thank you for contacting us regarding your interest in Real Estate in the Brighton, Howell and Pinckney area. A Foreclosure Specialist will contact you shortly with any information you requested.

In the meantime, if there is any additional information we can provide, please feel free to contact us directly at (810) 626-5600.

"; $mail2->AltBody = "We've sent your request to cs@michiganhomesforeclosures.com, someone should follow-up shortly"; $success = true; if( !$mail2->send() ){ $error = "YES"; $error_msg .= "
There was a problem sending your confirmation email, however, your original message was succesfully sent to cs@michiganhomesforeclosures.com"; $error_msg .= "
" . $mail2->ErrorInfo; $sent_msg = $error_msg; } else{ $sent_msg = "We've sent your request to cs@michiganhomesforeclosures.com, please feel free to contact us with any additional questions or comments via e-mail."; } } } } } ?> <?php echo $p_title;?>

Sell Your Home

Please complete the information and one of our Listing Agents will schedule a home visit, complete a home valuation report and customize a marketing plan for your home.

This is a free, no-obligation service to you. We adhere to a strict no-spam policy when replying to service request.

Contact Info

Property Info

With our proven solutions we are helping homeowners Avoid Foreclosure. As Certified Distressed Property Experts, our trained agents can assist you and YOUR family with the best real estate resources. For a Complimentary Home Evaluation and practical solutions on Avoiding Foreclosure for your family, contact us or call us at your convenience (810) 626-5600.