feat(alarms): Add possibility to use SMTP master account for system alarms. Fixes #5565.

This commit is contained in:
smizrahi committed 2023-02-16 18:51:28 +01:00
1 parent 2c6f5225d4
commit 8001e3f6ab
14 files changed
+113 -37

No files matched your search

+15
View File
@@ -292,6 +292,21 @@
return server;
}
- (BOOL) smtpMasterUserEnabled
{
return [self boolForKey: @"SOGoSMTPMasterUserEnabled"];
}
- (NSString *) smtpMasterUserUsername
{
return [self stringForKey: @"SOGoSMTPMasterUserUsername"];
}
- (NSString *) smtpMasterUserPassword
{
return [self stringForKey: @"SOGoSMTPMasterUserPassword"];
}
- (NSString *) smtpAuthenticationType
{
return [[self stringForKey: @"SOGoSMTPAuthenticationType"] lowercaseString];