Mail update
This commit is contained in:
@@ -26,10 +26,10 @@ class Mail extends Mailhandling {
|
|||||||
$this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y');
|
$this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y');
|
||||||
$this->content['emailbody'] = $this->mail->textHtml ?? $this->mail->textPlain;
|
$this->content['emailbody'] = $this->mail->textHtml ?? $this->mail->textPlain;
|
||||||
$this->content['subject'] = $this->mail->subject;
|
$this->content['subject'] = $this->mail->subject;
|
||||||
$this->renderAttachments($messageStructure);
|
$this->renderAttachments();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function renderAttachments($messageStructure): void {
|
protected function renderAttachments(): void {
|
||||||
$attachments = $this->mail->getAttachments();
|
$attachments = $this->mail->getAttachments();
|
||||||
$contentArray = [];
|
$contentArray = [];
|
||||||
foreach ($attachments as $attachment) {
|
foreach ($attachments as $attachment) {
|
||||||
|
|||||||
Reference in New Issue
Block a user