// (JS): Make sure the form has been filled out prior to sending the e-mail if($form_submitted) { $subject = "bdeq.net - Client Inquiry!"; $message = "A client filled out the response form from IP: " . getenv("REMOTE_ADDR") . "\n"; $message .= "Horse Name: $name\nYour Name: $your_name\nEmail: $email\nPlace of Residence: $place_of_residence\nTelephone: $phone\n"; $message .= "\n\nComments: $comments\n\n"; mail("BDiggerEq3@aol.com", "$subject", $message,"From: $addressfrom\nReply-To: $addressfrom"); header("Location: home.htm"); } ?>
|
|
||||||||||