mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Admin mail settings
- Disable the IMAP test button as it doesn't work yet - Remove word 'successfully' when testing SMTP as we're only adding the message to the queue, it wasn't sent yet
This commit is contained in:
@@ -108,7 +108,7 @@ if (isset($_POST['test_email_smtp'])) {
|
||||
$mail = addToMailQueue($data);
|
||||
|
||||
if ($mail === true) {
|
||||
$_SESSION['alert_message'] = "Test email queued successfully! <a class='text-bold text-light' href='admin_mail_queue.php'>Check Admin > Mail queue</a>";
|
||||
$_SESSION['alert_message'] = "Test email queued! <a class='text-bold text-light' href='admin_mail_queue.php'>Check Admin > Mail queue</a>";
|
||||
} else {
|
||||
$_SESSION['alert_type'] = "error";
|
||||
$_SESSION['alert_message'] = "Failed to add test mail to queue";
|
||||
|
||||
Reference in New Issue
Block a user