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:
Johnny 2024-03-17 13:42:31 -04:00 committed by GitHub
commit 064629d499
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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"]);