Mail update

This commit is contained in:
Torsten Schulz
2023-07-10 13:09:43 +02:00
parent 5de879cddc
commit bfb1f590c5

View File

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