Mail update
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user