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

This commit is contained in:
smizrahi
2023-02-16 18:47:54 +01:00
parent 2c6f5225d4
commit 8001e3f6ab
14 changed files with 113 additions and 37 deletions
+2 -1
View File
@@ -888,7 +888,8 @@ static const NSString *kJwtKey = @"jwt";
toRecipients: [NSArray arrayWithObjects: toEmail, nil]
sender: fromEmail
withAuthenticator: [SOGoEmptyAuthenticator sharedSOGoEmptyAuthenticator]
inContext: [self context]];
inContext: [self context]
systemMessage: YES];
if (!e) {
response = [self responseWithStatus: 200