From ae71ff561fb0e469b00dbe0942144f8a0b771246 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 19 Jun 2017 23:35:30 -0400 Subject: Add setting parameter 'smtpFrom' This is the name to give on FROM headers to generated email messages. --- app/class/settings.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/class/settings.class.php') 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 @@ -98,6 +98,14 @@ abstract class settings return self::option("smtpEmailAddress", "", $value); } + /* + * SMTP FROM name + */ + public static function smtpFrom(?string $value = NULL) : string + { + return self::option("smtpFrom", "", $value); + } + /* * SMTP server address */ -- cgit v1.2.3