fixing E-Mail

This commit is contained in:
schrom01 2023-09-26 13:37:11 +02:00
parent 24a8554368
commit b5c26c48bf
2 changed files with 2 additions and 6 deletions

View File

@ -39,10 +39,6 @@ function sendEmail($emailAddress, $filename, $smtppassword)
echo "Email status:".$status; echo "Email status:".$status;
echo "Email Response:".$response; echo "Email Response:".$response;
} }
echo "test1";
sendEmail("roman.schenk37@gmail.com", "testfile.xlsx", "_W89]bOdQT'9^l!");
echo "test2";
?> ?>

View File

@ -4,10 +4,10 @@ include "read_write_xlsx.php";
include "emailSender.php"; include "emailSender.php";
$maxExecutionTime = 65; $maxExecutionTime = 300;
$taskDir = 'tasks'; $taskDir = 'tasks';
$downloadDir = 'download'; $downloadDir = 'download';
$minTaskOldness = 3; $minTaskOldness = 30;
$latesEndTime = time() + $maxExecutionTime; $latesEndTime = time() + $maxExecutionTime;
$smtppassword = getenv("smtppassword"); $smtppassword = getenv("smtppassword");