v0.1.10
This commit is contained in:
1 parent
2ab819ff30
commit
b86b8ff923
54 files changed
+1512
-672
No files matched your search
@@ -24,7 +24,7 @@ class SMTP
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
public function send_html(array $params)
|
||||
public function send_html(array $params): bool
|
||||
{
|
||||
if (!isset($params['address'])){
|
||||
return false;
|
||||
@@ -35,6 +35,6 @@ class SMTP
|
||||
$body = $params['body'] ?? 'Нет информации';
|
||||
$this->mail->msgHTML($body);
|
||||
|
||||
$this->mail->send();
|
||||
return $this->mail->send();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user