' . "\r\n"; //you can put your websites name in here or anything else you like //$headers .= 'Bcc: username@domain.com' . "\r\n"; //this is optional. //------------------------------ // gets variables from the form. //$to = "robert@broderickadvertising.com"; //inset the email address it goes to here. seperate multiple addresses with commas $to = "john@bluzboys.com, bdavidson@senate.ms.gov"; $subject = "Web Visitor Feedback"; $name = $_SAFE_POST['name']; $email = $_SAFE_POST['email']; $reference = $_SAFE_POST['reference']; if (empty($_POST['message'])) { $message = "None Provided"; } else { $message = $_SAFE_POST['message']; } $body = "New email via bluzboys.com just arrived from: $name ( $email )\n\n who learned about the band the following way: $reference \n\n and sent the following note: $message \n $notes\n "; $ok = mail($to, $subject, $body, $headers); //this line sends the mail and returns true or false if($ok) { $notification = "Your message has been sent." ; } else { $notification = "We're sorry, your submission could not be sent at this time. Please try again later."; } // END if(OK); } //CLOSE IF EMPTY ERRORS }//Close IF SUBMITTED ?> Email The Bluz Boys A Note

$notification

"; } else { ?>
Name:

E-Mail Address:

How did you hear about us?

Main | The Band | Book'em | The Niteclub | Drop Us a Note | Bluz News



Copyright 1997-2016 Bluz Boys Band. All rights reserved.