$TO = "info@serdenm.org";
//$TO = "wesleyfrederick@hotmail.com";
if ($frmAction){
$MESSAGE = (!empty($Name)) ? "Name: ".$Name."\r\n" : "";
$MESSAGE .= (!empty($Phone)) ? "Phone: ".$Phone."\r\n" : "";
$MESSAGE .= (!empty($Email)) ? "Email: ".$Email."\r\n" : "";
$MESSAGE .= (!empty($Street_1)) ? "Street 1: ".$Street_1."\r\n" : "";
$MESSAGE .= (!empty($Street_2)) ? "Street 2: ".$Street_2."\r\n" : "";
$MESSAGE .= (!empty($City)) ? "City: ".$City."\r\n" : "";
$MESSAGE .= (!empty($State) && !empty($Zip)) ? "State, Zip: ".$State.", ".$Zip."\r\n" : "";
$MESSAGE .= (!empty($Volunteer_Information)) ? "Would like to volunteer for Ser De New Mexico: ".$Volunteer_Information."\r\n" : "";
$MESSAGE .= (!empty($Student_Information)) ? "I am a student and I want to volunteer for Ser De New Mexico: ".$Student_Information."\r\n" : "";
$MESSAGE .= (!empty($Donate_Information)) ? "I want to dontate to Ser De New Mexico: ".$Donate_Information."\r\n" : "";
$MESSAGE .= (!empty($Newsletter)) ? "I want to recieve the Ser De New Mexico Newsletter every month: ".$Newsletter."\r\n" : "";
$HEADERS = "From: ".$Name." <".$Email.">\n";
$SUBJECT = "Get Involved: Online Form submission";
if(mail($TO, $SUBJECT, $MESSAGE, $HEADERS)){
header("Location: thanks.htm");
} else {
header("Location: error.htm");
}
}
?>
Ser de New Mexico - About - History
include('nav_js.htm'); ?>
include('../includes/logo_js.htm'); ?>
|
|
|
Copyright © 2006 SER de New Mexico. All rights reserved.
|
|