Skip to content

Commit

Permalink
Merge pull request #793 from Shadow243/smtp-error-message
Browse files Browse the repository at this point in the history
Error message 'receipts' changed to 'recipients' when recipients variable is empty
  • Loading branch information
kroky authored Oct 16, 2023
2 parents 497d798 + 85ae985 commit eff30c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/smtp/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eff30c8

Please sign in to comment.