You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
416 B
PHP

<?php
$name = $_POST["name"];
$email = $_POST["email"];
$message = $_POST["message"];
$msg = "
Name: $name
E-Mail: $email
Nachricht: $message
";
$to="sebastian.preisner@gmail.com";
$subject="Anfrage Webformular";
$message= $msg;
$headers= 'From: info@freifunk-myk.de' . "\r\n" .
'Reply-To: ' . $email .",mayen-koblenz@freifunk.net". "\r\n" .
'X-Mailer: PHP/';
mail($to,$subject,$message,$headers);
?>