email; if (!$email) { return; } $this->bootConfigs(); $mailMessage = $notification->toMail($notifiable); Mail::send( [], [], fn(Message $message) => $message ->from( data_get($settings, 'smtp_from_address'), data_get($settings, 'smtp_from_name') ) ->to($email) ->subject($mailMessage->subject) ->html((string)$mailMessage->render()) ); } private function bootConfigs(): void { set_transanctional_email_settings(); } }