North Shore Choral Society Ticket Order

The following information has been emailed.
We will call you to obtain payment information.

sales define("SMTP_HOST","mail.speakeasy.net"); define("SMTP_PORT","25"); define("NOTIFIER_ADDRESS","orders@northshorechoral.com"); // // $old[] = ini_set("SMTP",SMTP_HOST); $old[] = ini_set("smtp_port",SMTP_PORT); $old[] = ini_set("sendmail_from",NOTIFIER_ADDRESS); // print "
Old Values: "; // var_dump($old); // print "
New values " . SMTP_HOST . SMTP_PORT . NOTIFIER_ADDRESS; // $grandtot = 0; foreach($HTTP_POST_VARS as $varname => $value) { // echo $varname . ".........." . $value . "
\r\n"; $formvars[$varname] = $value; } $line1 = $formvars["firstname"] ." ". $formvars["middle"] . " " . $formvars["lastname"]; echo $line1 . "
\r\n"; $line2 = $formvars["street"]; $line3 = $formvars["city"] . "," . $formvars["state"] . " " . $formvars["zipcode"]; echo $line2 . "
\r\n"; echo $line3 . "
\r\n"; $line4 = $formvars["phone"] . " " . $formvars["email"]; echo $line4 . "
\r\n"; $body = $line1 . "\r\n" . $line2 . "\r\n" .$line3 ."\r\n" . $line4 ."\r\n"; $prodcount = $formvars["prodcount"]; $grandtot = 0; for($i=0; $i<$prodcount+1; $i++) { if($formvars["qty$i"] >0) { $formvars["totcost$i"] = $formvars["qty$i"] * $formvars["unitprice$i"]; $grandtot = $grandtot + $formvars["totcost$i"]; $thisline = $formvars["typeticket$i"] . " qty= " . $formvars["qty$i"] . " cost= $" . $formvars["totcost$i"]; echo $thisline . "
\r\n"; $body .= $thisline . "\r\n\r\n"; } } echo "Total order cost is $" . $grandtot; $body = $body . "Total order cost is $" . $grandtot . "\r\n.\r\n"; // echo "Begin test sending mail php script"; // die("Do not want to email just yet"); $address1 = "emailorders@northshorechoral.com"; $address2 = ''; $address3 = ''; $addresses = "$address1,$address2,$address3"; $subject = "NSCS Ticket Order"; // $extra_header = "From: millerjw@world.oberlin.edu\r\n\bcc: millerjw@world.oberlin.edu"; $headers = 'From: emailorders@northshorechoral.com' . "\r\n" . 'Reply-To: emailorders@northshorechoral.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $status = mail($addresses, $subject, $body,$headers); if($status) echo "
Email sent
"; else echo "
There was a problem and the email was not sent. Please try again later or print and mail your order
"; ?>