invoice = $invoice; $this->filename = $filename; $this->salutation = 'Liebe Familie '.$invoice->pages->first()->familyName; } /** * Build the message. * * @return $this */ public function build() { return $this->markdown($this->invoice->mailView()) ->attach($this->filename) ->replyTo('kasse@stamm-silva.de') ->subject($this->invoice->getSubject().' | DPSG Stamm Silva'); } }