if(isset($_POST['iptNachname'])){ $contents = "Nachfolgend eine Mitteilung, die über seecamp-rottal.de gesendet wurde:\n\n\n"; $contents .= "Vorname: ".$_POST['iptVorname']."\n"; $contents .= "Nachname: ".$_POST['iptNachname']."\n"; $contents .= "Telefon: ".$_POST['iptTelefon']."\n"; $contents .= "Telefax: ".$_POST['iptFax']."\n"; $contents .= "eMail-Adresse: ".$_POST['iptEmail']."\n\n"; $contents .= "Betreff: ".$_POST['iptBetreff']."\n\n"; $contents .= "Nachricht: ".$_POST['iptNachricht']."\n\n"; $subject = "Mitteilung von seecamp-rottal.de"; if(!empty($_POST['email'])){$email = $_POST['iptEmail'];} else {$email = "info@seecamp-rottal.de";} $xtras = "From: \"".$_POST['iptNachname'].",".$_POST['Vorname']."\"<".$email.">\n"; $xtras .= "Content-Type: text/plain\nContent-Transfer-Encoding: 8bit\n"; $xtras .= "X-Mailer: PHP ".phpversion(); if(mail("info@seecamp-rottal.de", $subject, $contents, $xtras)){ $result = 1; } else{ $result = 0; } header("Location: http://".$_SERVER['HTTP_HOST']."/kontakt_result.php?result=".$result); } ?>
Seecamp GmbH Rottal GPS-Daten: Ihre Ansprechpartnerin: |