/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Copyright (C) 2004-2005 SunFrogServices.com. All rights reserved. PHPeasy-form version 2.0 Released 2005-05-16 This file is part of PHPeasy-form. PHPeasy-form is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. PHPeasy-form is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with PHPeasy-form; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact SunFrogServices.com at: http://www.SunFrogServices.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ // send form results through email ini_set("sendmail_from", "marketing@orchestranova.org"); $recipient = "marketing@orchestranova.org"; $subject = "Orchestra Nova enotes Contact Page"; $name=$_POST['name']; $address=$_POST['address']; $city=$_POST['city']; $state=$_POST['state']; $zip=$_POST['zip']; $phone=$_POST['phone']; $email=$_POST['email']; $subscribe=$_POST['subscribe']; $comments=$_POST['comments']; $forminfo = ( "Name: " . $name . "\r\n" . "Address: " . $address . "\r\n" . "City: " . $city . "\r\n" . "State: " . $state . "\r\n" . "Zip: " . $zip . "\r\n" . "Phone: " . $phone . "\r\n" . "E-mail: " . $email . "\r\n" . "Subscribe: " . $subscribe . "\r\n" . "Comments: " . $comments . "\r\n" . date("M-d-Y") . "\r\n\n" ); $formsend = mail("$recipient", "$subject", "$forminfo"); ?>