We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed25a2c commit 130225eCopy full SHA for 130225e
1 file changed
system/Email/Email.php
@@ -1539,7 +1539,11 @@ public function send($autoClear = true)
1539
$this->setReplyTo($this->headers['From']);
1540
}
1541
1542
- if (empty($this->recipients) && ! isset($this->headers['To']) && empty($this->BCCArray) && ! isset($this->headers['Bcc']) && ! isset($this->headers['Cc'])) {
+ if (
1543
+ empty($this->recipients) && ! isset($this->headers['To'])
1544
+ && empty($this->BCCArray) && ! isset($this->headers['Bcc'])
1545
+ && ! isset($this->headers['Cc'])
1546
+ ) {
1547
$this->setErrorMessage(lang('Email.noRecipients'));
1548
1549
return false;
0 commit comments