Mail update

This commit is contained in:
Torsten Schulz
2023-07-10 13:08:04 +02:00
parent 6036b652ad
commit bcfe9853ca

View File

@@ -30,11 +30,12 @@ class Mail extends Mailhandling {
} }
protected function renderAttachments($messageStructure): void { protected function renderAttachments($messageStructure): void {
$attachments = $this->getAttachments($messageStructure); $attachments = $this->mail->getAttachments();
var_dump($attachments);
$contentArray = []; $contentArray = [];
foreach ($attachments as $attachment) { /* foreach ($attachments as $attachment) {
$contentArray[] = $attachment['filename']; $contentArray[] = $attachment['filename'];
} }*/
$this->content['attachments'] = implode('<br>', $contentArray); $this->content['attachments'] = implode('<br>', $contentArray);
} }
} }