notification = $notification; } /** * Build the message. * * @return $this */ public function build() { $converter = new HtmlConverter(); $this->notification->message = $converter->convert($this->notification->message); $link = env('APP_URL_FRONTEND', 'http://localhost:3000') . "/manager/learning/" . $this->notification->learning_product->slug; return $this->from(env('MAIL_FROM_ADDRESS')) ->with([ 'notification' => $this->notification, 'link' => $link ]) ->markdown('emails.courses.notification'); } }