Exemplo n.º 1
0
 protected function logSending()
 {
     $subject = $this->getSubject();
     $html = $this->getHtml();
     $text = $this->getText();
     Log::debug("Sending email `" . $subject . "` to recipients: " . $this->getRecipientList(), "EMAIL");
     Log::bulkData("Email content", "EMAIL", $this->getMailHeadersAsString() . "\r\n\r\n" . ($html != "") ? $html : $text);
 }