mirror of https://github.com/itflow-org/itflow
Merge pull request #914 from wrongecho/smtp-test-wording
Reword SMTP test message to make it clear that messages are queued
This commit is contained in:
commit
064629d499
|
|
@ -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