user = $user; $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('Account Changed')->view('emails.accountChange')->with(['account' => $this->user->role->name, 'username' => $this->user->username, 'site' => $this->siteTitle]); } }