Added subject so that it works with job:list
This commit is contained in:
@@ -38,6 +38,17 @@ class MessageProcess implements ShouldQueue
|
||||
$this->skipbot = $skipbot;
|
||||
}
|
||||
|
||||
public function __get($key): mixed
|
||||
{
|
||||
switch ($key) {
|
||||
case 'subject':
|
||||
return sprintf('%s-%s-%s',$this->packet,$this->sender->ftn,$this->msg->msgid);
|
||||
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* When calling MessageProcess - we assume that the packet is from a valid source, and
|
||||
* the destination (netmail/echomail) is also valid
|
||||
|
Reference in New Issue
Block a user