setupNetmail($notifiable); $ao = $notifiable->routeNotificationFor(static::via); Log::info(sprintf('%s:+ Responding to areafix for a node [%s] SCAN processed',self::LOGKEY,$ao->ftn)); $o->subject = 'Areafix - Scan Results'; // Message $msg = $this->page(FALSE,'Areafix'); $msg->addText("An areafix (re)Scan has completed:\r\r"); $msg->addText(sprintf("Area: %s, Queued: %d, Skipped: %d\r\r", $this->result->get('area'), $this->result->get('queued'), $this->result->get('skipped'), )); if ($x=$this->result->get('earliest')) $msg->addText(sprintf("The earliest message being sent: %s.\r",$x)); if (($x=$this->result->get('latest')) && ($this->result->get('earliest') !== $x)) $msg->addText(sprintf("The latest message being sent: %s.\r",$x)); $o->msg = $msg->render(); $o->set_tagline = 'Why did the robot cross the road? The chicken programmed it.'; $o->save(); return $o; } }