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:+ Responding to areafix for a node [%s] INVALID PASSWORD',self::LOGKEY,$ao->ftn)); $o->to = $this->mo->from; $o->replyid = $this->mo->msgid; $o->subject = 'Areafix - Invalid Password'; // Message $msg = $this->page(FALSE,'Areafix'); $msg->addText("Your areafix request has been received, but unfortunately your password was incorrect.\r\r"); $msg->addText(sprintf("If you are not aware of your password, head over to %s. Feel free to netmail if you need help.\r\r",config('app.url'))); $msg->addText($this->message_path($this->mo)); $o->msg = $msg->render(); $o->set_tagline = 'Why did the robot cross the road? The chicken programmed it.'; $o->save(); return $o; } }