SMTPMAIL: add missing function set_from
This commit is contained in:
parent
8df52585d4
commit
69b807e2eb
1 changed files with 4 additions and 1 deletions
|
|
@ -68,7 +68,10 @@ class SMTPMail
|
|||
{
|
||||
return $this->phpmailer;
|
||||
}
|
||||
|
||||
public function set_from($from)
|
||||
{
|
||||
$this->phpmailer->setFrom($from);
|
||||
}
|
||||
public function setPhpmailer($phpmailer): PHPMailer
|
||||
{
|
||||
$this->phpmailer = $phpmailer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue