From 85ae9859e289a5c982e7e690bfd5beb5f7adbb36 Mon Sep 17 00:00:00 2001 From: Steven Ngesera Date: Sat, 14 Oct 2023 09:45:02 +0200 Subject: [PATCH] Error message 'receipts' changed to 'recipients' when recipients variable is empty --- modules/smtp/modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/smtp/modules.php b/modules/smtp/modules.php index 4df50257a6..a48bf844ed 100644 --- a/modules/smtp/modules.php +++ b/modules/smtp/modules.php @@ -712,7 +712,7 @@ public function process() { /* get smtp recipients */ $recipients = $mime->get_recipient_addresses(); if (empty($recipients)) { - Hm_Msgs::add("ERRNo valid receipts found"); + Hm_Msgs::add("ERRNo valid recipients found"); repopulate_compose_form($draft, $this); return; }