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 ECHOAREA NOT EXIST netmail to [%s]',self::LOGKEY,$ao->ftn)); $o->subject = 'Echoarea doesnt exist - '.$this->mo->set->get('set_echoarea'); // Message $msg = $this->page(FALSE,'nothere'); $msg->addText($this->sourceSummary($this->mo)."\r\r"); $msg->addText(sprintf("It appears that the echoarea [%s] that this message is for doesnt exist, so the message from your system was rejected.\r\r",$this->mo->set->get('set_echoarea'))); $msg->addText("Please contact the ZC if you think this is a mistake.\r\r"); $msg->addText($this->message_path($this->mo)); $o->msg = $msg->render(); $o->set_tagline = 'Don\'t let your trash become someone else\'s treasure. Feed your shredder often.'; $o->save(); return $o; } }