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

This commit is contained in:
smizrahi
2023-02-16 18:51:28 +01:00
parent 2c6f5225d4
commit 8001e3f6ab
14 changed files with 113 additions and 37 deletions
+2 -1
View File
@@ -697,7 +697,8 @@ static NSString *mailETag = nil;
toRecipients: [NSArray arrayWithObject: email]
sender: [self _matchingIdentityEMail]
withAuthenticator: [self authenticatorInContext: context]
inContext: context])
inContext: context
systemMessage: YES])
[self _flagMessageWithMDNSent];
}
+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
+2 -1
View File
@@ -238,7 +238,8 @@
toRecipients: [NSArray arrayWithObject: recipient]
sender: from
withAuthenticator: [self authenticatorInContext: context]
inContext: context];
inContext: context
systemMessage: YES];
}
@end
+2 -1
View File
@@ -208,7 +208,8 @@
toRecipients: [NSArray arrayWithObject: recipient]
sender: from
withAuthenticator: [self authenticatorInContext: context]
inContext: context];
inContext: context
systemMessage: YES];
}
@end