/** * send queue mail */ public function queue() { $from = $this->fromEmail; $to = $this->toEmail; $name = $this->toName; $subject = $this->subject; $this->beauty->queue($this->view, $this->datas, function ($message) use($from, $to, $name, $subject) { $message->from($from)->to($to, $name)->subject($subject); }); }