Upload via GUI (346 Dateien)

This commit is contained in:
2026-10-28 07:54:47 +00:00
parent 6343e06db5
commit f3ba8c20b1
3 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -19,6 +19,7 @@ $cronJobs = [
'anonymize_data' => ['label' => 'Datenanonymisierung', 'file' => 'anonymize_data.php', 'fn' => 'run_anonymization'],
'auto_close_tickets'=> ['label' => 'Automatisches Schließen', 'file' => 'auto_close_tickets.php','fn' => 'run_auto_close_tickets'],
'process_snoozes' => ['label' => 'Wiedervorlagen', 'file' => 'process_snoozes.php', 'fn' => 'run_process_snoozes'],
'process_mail_queue' => ['label' => 'Mail-Warteschlange', 'file' => 'process_mail_queue.php', 'fn' => 'run_process_mail_queue'],
'remind_customers' => ['label' => 'Kundenerinnerung', 'file' => 'remind_customers.php', 'fn' => 'run_remind_customers'],
'send_csat' => ['label' => 'Zufriedenheitsabfrage', 'file' => 'send_csat.php', 'fn' => 'run_send_csat'],
'status_checks' => ['label' => 'Statusprüfungen', 'file' => 'status_checks.php', 'fn' => 'run_status_checks'],
@@ -413,7 +414,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
if ($action === 'test_smtp') {
$testBody = email_wrap(email_p('Diese Test-E-Mail bestätigt, dass Ihr SMTP-Versand korrekt eingerichtet ist. 🎉'));
$ok = send_mail($staff['email'], 'DeskHub – Test-E-Mail', $testBody);
$ok = send_mail($staff['email'], 'DeskHub – Test-E-Mail', $testBody, null, false);
$ok ? flash('success', 'Test-Mail an '.$staff['email'].' gesendet.') : flash('error', 'Versand fehlgeschlagen. Bitte SMTP-Daten prüfen. '.smtp_last_error());
redirect('/staff/settings.php?tab=email');
}
@@ -871,7 +872,7 @@ require __DIR__ . '/_header.php';
</div>
<div>
<label>Verschlüsselung</label>
<select name="smtp_encryption">
<select name="smtp_encryption" onchange="var p=this.form.elements.smtp_port;if(p&&['','25','465','587'].indexOf(String(p.value).trim())!==-1)p.value={tls:'587',ssl:'465',none:'25'}[this.value]">
<option value="tls" <?= $smtpEncryption==='tls'?'selected':'' ?>>STARTTLS (587)</option>
<option value="ssl" <?= $smtpEncryption==='ssl'?'selected':'' ?>>SSL/TLS (465)</option>
<option value="none" <?= $smtpEncryption==='none'?'selected':'' ?>>Keine</option>
@@ -1172,6 +1173,7 @@ require __DIR__ . '/_header.php';
'anonymize_data' => $cronAnonymize,
'auto_close_tickets'=> $cronAutoClose,
'process_snoozes' => $cronSnoozes,
'process_mail_queue' => cron_last_run_label(get_setting('cron_process_mail_queue_last_run')),
'remind_customers' => $cronRemind,
'run_plugins' => $cronPlugins,
'send_csat' => $cronCsat,