mo = $mo; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return Netmail * @throws \Exception */ public function toNetmail(object $notifiable): Netmail { $o = $this->setupNetmail($notifiable); $ao = $notifiable->routeNotificationFor(static::via); Log::info(sprintf('%s:+ Creating HUB NO USER netmail to [%s]',self::LOGKEY,$ao->ftn)); $o->to = $this->mo->from; $o->replyid = $this->mo->msgid; $o->subject = 'Message Undeliverable - '.$this->mo->msgid; // Message $msg = $this->page(FALSE,'Reject'); $msg->addText($this->sourceSummary($this->mo)."\r\r"); $msg->addText("This hub is not attended, so no user will be able to read your message. You may like to try and contact them another way.\r\r"); $msg->addText($this->message_path($this->mo)); $o->msg = $msg->render(); $o->set_tagline = 'Do you think it was fate which brought us together? Nah, bad luck :('; $o->save(); return $o; } }