diff --git a/app/Mail/TemplateEmail.php b/app/Mail/TemplateEmail.php index 6c9a9217a0bc..511930eea991 100644 --- a/app/Mail/TemplateEmail.php +++ b/app/Mail/TemplateEmail.php @@ -107,7 +107,10 @@ class TemplateEmail extends Mailable $message->invitation = $this->invitation; }); - //hosted | plan check here + /*TODO insert another check here for whether the attachment exists */ + nlog($this->build_email->getAttachments()); + + foreach ($this->build_email->getAttachments() as $file) { if(is_string($file))