diff options
Diffstat (limited to 'app')
-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 19fba6a..d936a62 100644 --- a/app/class/settings.class.php +++ b/app/class/settings.class.php @@ -147,6 +147,14 @@ abstract class settings { return self::option("smtpPasswd", "", $value); } + + /* + * SMTP result of last attempted send - 'true', 'false', 'NULL' + */ + public static function smtpResult(?string $value = NULL) : string + { + return self::option("smtpResult", "NULL", $value); + } } ?> |