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