<?php
$fmtResponse= implode("", file("feddich.html"));
$fmtMail= implode("", file("mail.htt"));
foreach($HTTP_POST_VARS as $key=> $val) {
$fmtResponse= str_replace("<$key>", $val, $fmtResponse);
$fmtMail= str_replace("<$key>", $val, $fmtMail);
}
if ($HTTP_POST_VARS["access"] == "irregeheim") {
mail($HTTP_POST_VARS["empfänger1"], $HTTP_POST_VARS["subject"], $fmtMail);
mail($HTTP_POST_VARS["empfänger2"], $HTTP_POST_VARS["subject2"], $fmtMail);
}
echo $fmtResponse;
?>
Was baue ich ein um nicht den "CGI-Mailer" als Absender zu bekommen sondern meine Wunsch Variable?
Gruß,
pb