notificationParam = $notificationParam; } public function via($notificationReceiver) { return ['mail']; } public function toMail($notificationReceiver) { $notificationParam = $this->notificationParam; $MailMessage = (new MailMessage) ->subject('Extranetwork New User') ->from(config('mail.from.address'), config('mail.from.name')) ->greeting('Extranetwork App New User') ->line(new HtmlString('
Name Surname: '.$notificationParam['name'].' '.$notificationParam['surname'])) ->line(new HtmlString('Property Name: '.$notificationParam['property_name'])) ->line(new HtmlString('E-Mail: '.$notificationParam['email'])) ->line(new HtmlString('Phone: '.$notificationParam['phone'])) ->line(new HtmlString('Language: '.$notificationParam['language'])) ->line(new HtmlString('Time: '. Carbon::now()->format('d.m.Y H:i:s'))); //echo $MailMessage->render(); die(); return $MailMessage; } }