"; } if(empty($_POST['message'])) { $Nachricht .= "Sie haben folgende Angabe vergessen einzutragen: Nachricht.
"; } if($spamcode <> md5($antispam)){ $Nachricht .= "Sie haben folgende Angabe falsch eingegeben: Spam-Code.
"; } if(!$Nachricht) { // Mailinhalt definieren: $Text = EMail_Message."\n"; $Text .= str_repeat('-',100)."\n"; $Text .= EMail_Message_Name.$_POST['name']."\n"; $Text .= EMail_Message_Subject.$_POST['subject']."\n"; $Text .= EMail_Message_Date.date("r")."\n"; $Text .= EMail_Message_IP.$ipadress."\n"; $Text .= str_repeat('-',100)."\n"; $Text .= EMail_Message_Message."\n"; $Text .= strip_tags($_POST['message'])."\n"; $Text .= str_repeat('-',100)."\n"; $header .= "From: $absender\n"; $header .= "Content-Type: text/plain\n"; $header .= "Content-Transfer-Encoding: 8bit\n"; //-> Alles ok, Mail verschicken. mail($empfaenger,$_POST['subject'],$Text,$header); $gesendet = true; } } //---------------------------------------------CONTACTFORMULAR--END----------------------------------------------------------- ?>