|
We will get back to you as soon as possible. "; // END OF NECESSARY MODIFICATIONS if($_POST['send']) { $yourname = $HTTP_POST_VARS['yourname']; $email = $HTTP_POST_VARS['email']; $subject = $HTTP_POST_VARS['subject']; $datevalue = $HTTP_POST_VARS['datevalue']; $datevalue12 = $HTTP_POST_VARS['datevalue12']; $text = $HTTP_POST_VARS['text']; $browser = $HTTP_USER_AGENT; $ip = $REMOTE_ADDR; // format message $message = "Online-Form Response for $recipientname: Name: $yourname Email: $email Subject: $subject Ariving date:$datevalue Living date:$datevalue12 Your massage: $text ----------------------------- Browser: $browser User IP: $ip"; // send mail and print success message mail($recipientemail,$subject,$text,"From:", $yourname ,$email,"From:", $datevalue,"to:" $datevalue12); if($autoresponse == "yes") { $autosubject = stripslashes($autosubject); $automessage = stripslashes($automessage); mail($Email, $autosubject ,$automessage,$recipientname ,$recipientemail); } echo "$thanks"; } } ?> Contact
|
|||||||||||||||||||