Fix Mail
This commit is contained in:
parent
6b4f48289d
commit
eddb710952
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class Mail
|
|||
protected array $to = [];
|
||||
protected array $headers = [];
|
||||
protected string $message;
|
||||
protected array $smtp;
|
||||
protected ?array $smtp = null;
|
||||
protected string $EOL;
|
||||
protected $connect;
|
||||
protected int $auth = 0;
|
||||
|
@ -145,7 +145,7 @@ class Mail
|
|||
'Content-Type' => 'text/plain; charset=UTF-8',
|
||||
'X-Mailer' => 'ForkBB Mailer',
|
||||
];
|
||||
$this->message = null;
|
||||
$this->message = '';
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue