Mega Beachparty
T.a.v.: Partycentrum Rendering
Wedderbergenweg 3
9698 XW Wedde
Tel: 06 - 43729117
Email: info@partycentrum-rendering.nl

"; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Naam:
E-mail adres:
Onderwerp:
Bericht:
 
"; } else { $datum = date("d.m.Y H:i"); $ip = $_SERVER['REMOTE_ADDR']; $inhoud_mail = "===================================================\n"; $inhoud_mail .= "Ingevulde contact formulier\n"; $inhoud_mail .= "===================================================\n\n"; $inhoud_mail .= "Naam: " . $_POST['naam'] . "\n"; $inhoud_mail .= "E-mail adres: " . $_POST['mail'] . "\n"; $inhoud_mail .= "Bericht:\n"; $inhoud_mail .= $_POST['msggs'] . "\n\n"; $inhoud_mail .= "Verzonden op $datum via het ip " . $ip . "\n\n"; $inhoud_mail .= "===================================================\n\n"; $headers = "From: " . $_POST['naam'] . " <" . $_POST['mail'] . ">"; $headers = stripslashes($headers); $headers = str_replace("\n", "", $headers); $headers = str_replace("\r", "", $headers); $headers = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $headers)); $_POST['onderwerp'] = str_replace("\n", "", $_POST['onderwerp']); $_POST['onderwerp'] = str_replace("\r", "", $_POST['onderwerp']); $_POST['onderwerp'] = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $_POST['onderwerp'])); mail($mail_ontv, $_POST['onderwerp'], $inhoud_mail, $headers); echo "

Bedankt voor je email!

"; } ?>