Habe folgendes Problem:
Formular versenden funktioniert einwandfrei nur der Anhang(Attachment) wird nicht mitgesendet. Wo dran liegt es?
<?php
$fmtResponse= implode("", file("antwort.htt"));
$fmtMail= implode("", file("email.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"] == "hierdercode") {
mail($HTTP_POST_VARS["recipient"], $HTTP_POST_VARS["subject"],
$fmtMail, "From: ". $HTTP_POST_VARS["absender"]);
}
echo $fmtResponse;
?>
Email kommt an nur ohne Anhang!
Gruß
J.