Skip to content

Commit

Permalink
Reword SMTP test message to make it clear that messages are queued
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Mar 17, 2024
1 parent 43ebb86 commit 678c53a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post/setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@
$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"]);
Expand Down

0 comments on commit 678c53a

Please sign in to comment.