PvanDriel
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Simple Subscribe] All emails has my email address in to-fieldSolution is to delete line 220 from Email.php:
Delete this line:
$to = $this->senderName . ‘<‘.$this->senderEmail.’>’;Forum: Plugins
In reply to: [Simple Subscribe] All email addresses visible!!!!!Forum: Plugins
In reply to: [Simple Subscribe] All email addresses visible!!!!!Issue solved. New issue appeared…
Forum: Plugins
In reply to: [Simple Subscribe] All email addresses visible!!!!!I solved it temporary in the file email.php
replace line 208 till 234 by this:
private function sendEmail($recipients = array(), $subject = '', $data) { // recipients check if(!is_array($recipients)){ $recipients = array($recipients); } if(count($recipients) < 1){ throw new EmailException('No subscribers provided. (possibly none in your system)'); } // try sending e-mail try{ $mail = new \Nette\Mail\Message; $mail->setFrom($this->senderEmail, $this->senderName)->setSubject($subject); foreach($recipients as $recipient){ $mail->addBcc($recipient); } // set HTML / or plaintext body if($this->htmlEmail == TRUE){ $mail->setHTMLBody($this->getEmailTemplate($data)); } else { $mail->setBody($this->getEmailTemplate($data)); } $this->mailer->send($mail); } catch(\Exception $e){ throw new EmailException($e->getMessage()); } }Please solve this in the firstcoming update!!!
Viewing 4 replies - 1 through 4 (of 4 total)