From 69b807e2eb67b7734d901339bfafb227229888c1 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 24 Oct 2025 11:52:58 +0200 Subject: [PATCH] SMTPMAIL: add missing function set_from --- include/lib/smtpmail.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/lib/smtpmail.class.php b/include/lib/smtpmail.class.php index 58ba2836b..60319abfe 100644 --- a/include/lib/smtpmail.class.php +++ b/include/lib/smtpmail.class.php @@ -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;