This commit is contained in:
Visman 2023-04-29 18:24:41 +07:00
parent 6b4f48289d
commit eddb710952

View file

@ -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;
}