diff options
author | Malf Furious <m@lfurio.us> | 2017-06-19 23:35:30 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-06-19 23:57:39 -0400 |
commit | ae71ff561fb0e469b00dbe0942144f8a0b771246 (patch) | |
tree | 108e706600e62e47fab5101e6728d84b0a119dc6 /app | |
parent | 9fd988bf44089634bd3efa8acc95368cf45c2498 (diff) | |
download | scrott-ae71ff561fb0e469b00dbe0942144f8a0b771246.tar.gz scrott-ae71ff561fb0e469b00dbe0942144f8a0b771246.zip |
Add setting parameter 'smtpFrom'
This is the name to give on FROM headers to generated email messages.
Diffstat (limited to '')
-rw-r--r-- | app/class/settings.class.php | 8 |
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 |