fixing E-Mail
This commit is contained in:
parent
5bddc3be0d
commit
24a8554368
|
@ -24,7 +24,7 @@ function sendEmail($emailAddress, $filename, $smtppassword)
|
||||||
$mail->addAddress($emailAddress);
|
$mail->addAddress($emailAddress);
|
||||||
$mail->addReplyTo('info@silias.ch', 'Silias KLG');
|
$mail->addReplyTo('info@silias.ch', 'Silias KLG');
|
||||||
$mail->Subject = 'Ihr Export von Zefix ist bereit';
|
$mail->Subject = 'Ihr Export von Zefix ist bereit';
|
||||||
$mail->Body = 'Nutzen Sie den folgenden Link um ihre Daten herunterzuladen. Die Daten werden nach 48 Stunden automatisch von unserem Server gelöscht.\n<a href="https://zefix.silias.ch/'.$filename.'">https://zefix.silias.ch/'.$filename.'</a>';
|
$mail->Body = 'Nutzen Sie den folgenden Link um ihre Daten herunterzuladen. Die Daten werden nach 48 Stunden automatisch von unserem Server gelöscht.<br><a href="https://zefix.silias.ch/'.$filename.'">https://zefix.silias.ch/'.$filename.'</a>';
|
||||||
|
|
||||||
|
|
||||||
if($mail->send()){
|
if($mail->send()){
|
||||||
|
|
|
@ -4,10 +4,10 @@ include "read_write_xlsx.php";
|
||||||
|
|
||||||
include "emailSender.php";
|
include "emailSender.php";
|
||||||
|
|
||||||
$maxExecutionTime = 300;
|
$maxExecutionTime = 65;
|
||||||
$taskDir = 'tasks';
|
$taskDir = 'tasks';
|
||||||
$downloadDir = 'download';
|
$downloadDir = 'download';
|
||||||
$minTaskOldness = 30;
|
$minTaskOldness = 3;
|
||||||
$latesEndTime = time() + $maxExecutionTime;
|
$latesEndTime = time() + $maxExecutionTime;
|
||||||
$smtppassword = getenv("smtppassword");
|
$smtppassword = getenv("smtppassword");
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
include 'api/env_vars.php';
|
include 'env_vars.php';
|
||||||
$username = getenv("username");
|
$username = getenv("username");
|
||||||
$password = getenv("password");
|
$password = getenv("password");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue