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 {
$attachments = $this->getAttachments($messageStructure);
$attachments = $this->mail->getAttachments();
var_dump($attachments);
$contentArray = [];
foreach ($attachments as $attachment) {
/* foreach ($attachments as $attachment) {
$contentArray[] = $attachment['filename'];
}
}*/
$this->content['attachments'] = implode('<br>', $contentArray);
}
}