Add AKA to email notification
This commit is contained in:
@@ -46,7 +46,11 @@ class NodeMarkedHold extends Notification //implements ShouldQueue
|
||||
return (new MailMessage)
|
||||
->cc(our_address($this->ao)->system->users->first()->email)
|
||||
->subject('Your system has been marked HOLD')
|
||||
->line(sprintf('Your system has been marked **HOLD**, because it hasnt polled **%s** since **%s** (%d days).',$this->ao->zone->domain->name,$this->ao->system->last_session->format('Y-m-d'),$this->ao->system->last_session->diffInDays($now)))
|
||||
->line(sprintf('Your system has been marked **HOLD**, because it hasnt polled **%s** with address %s since **%s** (%d days).',
|
||||
$this->ao->zone->domain->name,
|
||||
$this->ao->ftn4d,
|
||||
$this->ao->system->last_session->format('Y-m-d'),
|
||||
$this->ao->system->last_session->diffInDays($now)))
|
||||
->line('')
|
||||
->line('You have (waiting for collection):')
|
||||
->lineIf($this->ao->uncollected_netmail,sprintf('* %s Netmails',number_format($this->ao->uncollected_netmail)))
|
||||
|
Reference in New Issue
Block a user