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