mirror of https://github.com/itflow-org/itflow
Reword SMTP test message to make it clear that messages are queued
This commit is contained in:
parent
43ebb867b2
commit
678c53a8fb
|
|
@ -184,10 +184,10 @@ if (isset($_POST['test_email_smtp'])) {
|
|||
$mail = addToMailQueue($mysqli, $data);
|
||||
|
||||
if ($mail === true) {
|
||||
$_SESSION['alert_message'] = "Test email sent successfully";
|
||||
$_SESSION['alert_message'] = "Test email queued successfully - Check Admin > Mail queue";
|
||||
} else {
|
||||
$_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"]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue