fixing E-Mail

This commit is contained in:
schrom01 2023-09-26 00:13:28 +02:00
parent e82490018c
commit 9d08aa7b99
1 changed files with 1 additions and 1 deletions

View File

@ -121,10 +121,10 @@ while($latesEndTime - time() > 60){
else {
convertcsvToXlsx(str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]), str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]));
unlink(str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]));
sendEmail($task['email'], str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]), $smtppassword);
unlink($taskDir.'/'.$taskfiles[0]);
echo "Task File deleted";
echo "<br>";
sendEmail($task['email'], str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]), $smtppassword);
}
} else {
// acutal Time - start time