user = $user; } /** * Build the message. * * @return $this */ public function build() { $subject = trans('email.activation_required_subject', ['app_name' => UserConfig::get('app_name')]); return $this ->from(UserConfig::get('sender_address'), UserConfig::get('sender_name')) ->subject($subject) ->view(Theme::viewName('email.user_activation_required')) ->with([ 'subject' => $subject, 'user' => $this->user ]); } }