'; $thesubject = "Plymouth Church of Christ Bible Correspondence Course Request"; $replymessage = "Hi $name

Thank you for your desire to learn more about God's Word.

We will be mailing out your first course very soon.

Please do not reply to the e-mail address of this receipt.

If at any time you have questions or need help, do not hesitate to contact our evangelist, Monti Renner at montirenner@gmail.com

Below is a copy of the message you submitted:
--------------------------------------------------
Subject: $thesubject

Name: $name
E-Mail: $email

USA Address Line 1: $address1_usa
USA Address Line 2: $address2_usa
USA City: $city_usa
USA State: $state_usa
USA Zipcode: $zipcode_usa

International Address Line 1: $address1_international
International Address Line 2: $address2_international
International City: $city_international
International State: $state_international
International Country: $country_international
International Zipcode: $zipcode_international

Comments: $comments
--------------------------------------------------

Thank you and have a great day!

Plymouth Church of Christ
2425 Old Dixie Highway
P.O. Box 324
Plymouth, FL 32768

www.plymouth-church.com
"; // email variable not set - load $valid_ref1 page if (!isset($_POST['email'])) { echo ""; exit; } $ref_page=$_SERVER["HTTP_REFERER"]; $valid_referrer=0; if($ref_page==$valid_ref1) $valid_referrer=1; elseif($ref_page==$valid_ref2) $valid_referrer=1; if(!$valid_referrer) { echo ""; exit; } require("class.phpmailer.php"); require("class.smtp.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP // SMTP Configuration $mail->SMTPAuth = true; // enable SMTP authentication $mail->Host = "secure.emailsrvr.com"; // SMTP server $mail->Username = "$replyemail2"; $mail->Password = "M@i1@m3Tr10!!"; $mail->Port = 25; // optional if you don't want to use the default $mail->From = "$replyemail2"; $mail->FromName = "Monti Renner"; $mail->Subject = $thesubject; $mail->AltBody = "E-Mail: $email
Name: $name

USA Address Line 1: $address1_usa
USA Address Line 2: $address2_usa
USA City: $city_usa
USA State: $state_usa
USA Zipcode: $zipcode_usa

International Address Line 1: $address1_international
International Address Line 2: $address2_international
International City: $city_international
International State: $state_international
International Country: $country_international
International Zipcode: $zipcode_international

Comments: $comments
"; $mail->MsgHTML("E-Mail: $email
Name: $name

USA Address Line 1: $address1_usa
USA Address Line 2: $address2_usa
USA City: $city_usa
USA State: $state_usa
USA Zipcode: $zipcode_usa

International Address Line 1: $address1_international
International Address Line 2: $address2_international
International City: $city_international
International State: $state_international
International Country: $country_international
International Zipcode: $zipcode_international

Comments: $comments
"); // Add as many as you want $mail->AddAddress($replyemailer1, "Mark Baker"); $mail->AddAddress($replyemailer2, "Bert Christensen"); $mail->AddAddress($replyemailer3, "Monti Renner"); $response= NULL; if(!$mail->Send()) { $response = "Mailer Error: " . $mail->ErrorInfo; } else { $response = "Message sent!"; } $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP // SMTP Configuration $mail->SMTPAuth = true; // enable SMTP authentication $mail->Host = "secure.emailsrvr.com"; // SMTP server $mail->Username = "$replyemail2"; $mail->Password = "M@i1@m3Tr10!!"; $mail->Port = 25; // optional if you don't want to use the default $mail->From = "$replyemail2"; $mail->FromName = "Monti Renner"; $mail->Subject = "Receipt: " . $thesubject; $mail->AltBody = $replymessage; $mail->MsgHTML($replymessage); // Add as many as you want $mail->AddAddress($email, $name); $response= NULL; if(!$mail->Send()) { $response = "Mailer Error: " . $mail->ErrorInfo; } else { $response = "Message sent!"; } //mail("$replyemail", // "$thesubject", // "E-Mail: $email\nName: $name\n\nUSA Address Line 1: $address1_usa\nUSA Address Line 2: $address2_usa\nUSA City: $city_usa\nUSA State: $state_usa\nUSA Zipcode: $zipcode_usa\n\nInternational Address Line 1: $address1_international\nInternational Address Line 2: $address2_international\nInternational City: $city_international\nInternational State: $state_international\nInternational Country: $country_international\nInternational Zipcode: $zipcode_international\n\nComments: $comments\n", // "From: $replyemail2"); //mail("$email", // "Receipt: $thesubject", // "$replymessage", // "From: $replyemail2"); echo $success_sent_msg; /* PHP Form Mailer - phpFormMailer (easy to use and more secure than many cgi form mailers) FREE from: www.TheDemoSite.co.uk */ ?>