Mail bundling and processing performance improvements
This commit is contained in:
@@ -44,9 +44,6 @@ final class Mail extends Send
|
||||
case 'mtime':
|
||||
return $this->youngest()->timestamp;
|
||||
|
||||
case 'size':
|
||||
return strlen($this->f);
|
||||
|
||||
case 'type':
|
||||
return ($this->ftype&0xff00)>>8;
|
||||
|
||||
@@ -99,6 +96,7 @@ final class Mail extends Send
|
||||
public function open(string $compress=''): bool
|
||||
{
|
||||
$this->content = (string)$this->f;
|
||||
$this->size = strlen($this->content);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user