\n"; $mailheaders .= "Reply-To: " . $email . "\n\n"; // This block is the actual message that is sent in the email reply $reply_info .= "Thank you for registering with Quest Condominiums " . $firstname . "!\n\n"; $reply_info .= "We appreciate your interest and we assure you that your early registration will allow you to preview this exceptional condominium prior to our general opening to the public in the weeks ahead.\n\n"; $reply_info .= "We will contact you in the very near future " . $titlename . "." . $lastname . " so that you may explore this opportunity with us.\n\n"; $reply_info .= "Thank you again for your interest. We look forward to seeing you this summer.\n"; $reply_info .= "Sincerely\n"; $reply_info .= "The Quest Condos Team\n"; $reply_info .= "www.qcondos.com"; $mailheaders = "From: sales@qcondos.com <> \n"; $mailheaders .= "Reply-To: " . $email . "\n\n"; $replyheaders = "From: sales@qcondos.com <> \n"; $replyheaders .= "Reply-To: sales@qcondos.com\n\n"; if(mail($recipients, $subject, $email_info, $mailheaders)) { // Print a success for Flash to know the email is being sent print "&success=true"; } } mail($email, $replysubject, $reply_info, $replyheaders); ?>