Mail update

This commit is contained in:
Torsten Schulz
2023-07-10 13:10:22 +02:00
parent bfb1f590c5
commit e9dae55450

View File

@@ -33,7 +33,7 @@ class Mail extends Mailhandling {
$attachments = $this->mail->getAttachments(); $attachments = $this->mail->getAttachments();
$contentArray = []; $contentArray = [];
foreach ($attachments as $attachment) { foreach ($attachments as $attachment) {
$contentArray[] = $attachment['name']; $contentArray[] = $attachment->name;
} }
$this->content['attachments'] = implode('<br>', $contentArray); $this->content['attachments'] = implode('<br>', $contentArray);
} }