filename = $filename; } /** * 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 NETMAIL UNEXPECTED PACKET netmail to [%s]',self::LOGKEY,$ao->ftn)); $o->subject = sprintf('Unexpected packet from you [%s]',$this->filename); // Message $msg = $this->page(FALSE,'unexpected'); $msg->addText("We received a packet from you with echomail, but your node is not defined here. Those echomail messages were ignored. If you think this is a mistake, please let me know.\r\r"); $o->msg = $msg->render(); $o->set_tagline = 'The unexpected moment is always sweeter'; $o->save(); return $o; } }