In der Datei includes/functions.mail.inc.php müsste es ab Zeile 848 so aussehen:
if ($KundenObject->mailtyp == 1) {
$TemplateFile = URLPFAD . "templates/" . $TemplateObject->name . "/mail_html/faktura/bewertungsanfrage.php";
} elseif ($KundenObject->mailtyp == 2) {
$TemplateFile = URLPFAD . "templates/" . $TemplateObject->name . "/mail_text/faktura/bewertungsanfrage.php";
}
Das müsste dann so aussehen:
if ($KundenObject->mailtyp == 1) {
$TemplateFile = URLPFAD . "templates/" . $TemplateObject->name . "/mail_html/index.php";
} elseif ($KundenObject->mailtyp == 2) {
$TemplateFile = URLPFAD . "templates/" . $TemplateObject->name . "/mail_text/index.php";
}
$PostArray["content_file"] = DATEIPFAD . "templates/" . $TemplateObject->name . "/mail_html/faktura//bewertungsanfrage.php";
$PostArray["contenttext_file"] = DATEIPFAD . "templates/" . $TemplateObject->name . "/mail_text/faktura//bewertungsanfrage.php";
$PostArray["headline"] = "Bewertungsanfrage";
$PostArray["mailversandtext"] = "Bewertungsanfrage";