mirror of
https://github.com/itflow-org/itflow
synced 2026-03-18 03:34:50 +00:00
Reword SMTP test message to make it clear that messages are queued
This commit is contained in:
@@ -184,10 +184,10 @@ if (isset($_POST['test_email_smtp'])) {
|
|||||||
$mail = addToMailQueue($mysqli, $data);
|
$mail = addToMailQueue($mysqli, $data);
|
||||||
|
|
||||||
if ($mail === true) {
|
if ($mail === true) {
|
||||||
$_SESSION['alert_message'] = "Test email sent successfully";
|
$_SESSION['alert_message'] = "Test email queued successfully - Check Admin > Mail queue";
|
||||||
} else {
|
} else {
|
||||||
$_SESSION['alert_type'] = "error";
|
$_SESSION['alert_type'] = "error";
|
||||||
$_SESSION['alert_message'] = "Test email failed";
|
$_SESSION['alert_message'] = "Failed to add test mail to queue";
|
||||||
}
|
}
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user