user = $user; $this->newPass = $newPass; $this->siteEmail = config('mail.from.address'); $this->siteTitle = config('app.name'); } /** * Build the message. * * @return $this * * @throws \Exception */ public function build() { return $this->from($this->siteEmail)->subject('Password reset')->view('emails.passwordReset')->with(['newPass' => $this->newPass, 'userName' => $this->user->username, 'site' => $this->siteTitle]); } }