hiho, ich habe folgende scripte, jedoch wird die mail nicht versendet
[code]<!Doctype html>
Name:E-mail:
Betreff:
Nachricht:
[/code]
[code]<?php
if($_Post[‘von’]!="" and $_Post[‘mail’]!="" and $_Post[‘betreff’]!="" and $_Post[‘nachricht’]!="") {
$empf = "XXXXXX@web.de";
$betreff = $_Post[‘betreff’];
$from = "From: “;
$from .= $_Post[‘von’];
$from .= " <”;
$from .= $_Post[‘mail’];
$from .= “>\n”;
$from .= "Reply-To: ";
$from .= $_Post[‘mail’];
$from .= “\n”;
$from .= “Content-Type: text/html\n”;
$text = $_Post[‘nachricht’];
mail($empf,$betreff,$from);
echo "Vielen Dank";
} else {
echo "bitte alle felder ausfüllen";
}
?>[/code]
was ist falsch daran?