company = $company; $this->user_message = $user_message; } /** * Build the message. * * @return $this */ public function build() { $this->settings = $this->company->settings; $this->logo = $this->company->present()->logo(); $this->title = ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()]); $this->whitelabel = $this->company->account->isPaid(); nlog($this->user_message); return $this->from(config('mail.from.address'), config('mail.from.name')) ->subject(ctrans('texts.company_import_failure_subject', ['company' => $this->company->present()->name()])) ->view('email.import.import_failure', ['user_message' => $this->user_message, 'title' => $this->title]); } }