'; //print_r($postarray); //echo ''; if($doit == 'Submit') { $submitted_email=""; ini_set(sendmail_from, $submitted_email); $senderemail="peoples.mortgagegroup@verizon.net"; $sendername = "People's Mortgage Group"; $mailheader = "From: $senderemail\n"; $mailheader.= "Reply-To: $senderemail\n\n"; $subject = 'Thank you'; //$recipient = $_SESSION['billTo_email']; $recipient = $postarray['email']; // intro $message = "From Contact Us.\n\n"; foreach($postarray as $key => $value) { $message .= $key.': '.$value."\n"; } //$message= print_r($postarray); //print_r($message); if(mail($recipient, $subject, $message, $mailheader)) { include('Header.html'); ?>
Your message has been sent

Thank you for allowing us to serve you. A copy of your message has been sent to you at .


'; } else { echo "Failure, RECEIPT NOT MAILED!
"; } // end if-else $sendername = "People's Mortgage Group"; //$mailheader = "From: $senderemail\n"; $mailheader = "Return-Path: $senderemail\nFrom: $senderemail\n"; $mailheader .= "Reply-To: $senderemail\n\n"; $subject = 'Contact Us'; //$recipient = "peoples.mortgagegroup@verizon.net"; $recipient = "sales@lowermortgage.net"; if(mail($recipient, $subject, $message, $mailheader)) { } else { echo "Failure, PO NOT MAILED!
"; } // end if-else $mailheader .= "Reply-To: $senderemail\n\n"; $subject = 'Contact Us'; $recipient = "Larry.Nixon@adaptitech.com"; if(mail($recipient, $subject, $message, $mailheader)) { } else { echo "Failure, PO NOT MAILED!
"; } // end if-else } else { // display the form ?>
 
 
We value your comments, suggestions, and questions. Please, fill out the form below and a People's Mortgage Group representative will get back to you.