Mailinglisten-Archive |
Wie kann ich bei diesem Formmailer ändern, das Umlaute richtig verschickt
werden und die eingetragene Emailadresse als Absender benutzt wird?
<?php
$fmtResponse= implode("", file("response.htt"));
$fmtMail= implode("", file("mail.htt"));
foreach($HTTP_POST_VARS as $key=> $val) {
$fmtResponse= str_replace("<$key>", $val, $fmtResponse);
$fmtMail= str_replace("<$key>", $val, $fmtMail);
}
mail($HTTP_POST_VARS["recipient"], $HTTP_POST_VARS["subject"], $fmtMail);
echo $fmtResponse;
?>
php::bar PHP Wiki - Listenarchive