summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
Diffstat (limited to 'app/class')
-rw-r--r--app/class/settings.class.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/class/settings.class.php b/app/class/settings.class.php
index 5b7cdeb..19fba6a 100644
--- a/app/class/settings.class.php
+++ b/app/class/settings.class.php
@@ -99,6 +99,14 @@ abstract class settings
}
/*
+ * SMTP FROM name
+ */
+ public static function smtpFrom(?string $value = NULL) : string
+ {
+ return self::option("smtpFrom", "", $value);
+ }
+
+ /*
* SMTP server address
*/
public static function smtpServer(?string $value = NULL) : string