This commit is contained in:
2016-08-04 22:48:44 +02:00
parent 99870d94c4
commit 4993a29013
5 changed files with 38 additions and 23 deletions

View File

@ -84,9 +84,9 @@ class MailOutput extends GenericOutput
$this->setHeadersFromString($headers);
$recipients = implode(', ', $this->recipients);
// TODO: Check if any recipients in the first place
$this->transport->setRecipients($recipients);
$this->transport->setSubject($this->subject);
$this->transport->setHeaders($this->headers);
$this->transport->setParam('to', $recipients);
$this->transport->setParam('subject', $this->subject);
$this->transport->setParam('headers', $this->headers);
$this->transport->setContent($mailbody);
return $this->transport->transmit();
}