chore(sogo-ealarms-notify): improve arguments parsing

Fixes #5197
This commit is contained in:
Francis Lachapelle committed 2020-11-11 11:58:30 -05:00
1 parent c600aa261c
commit 64f0519f7b
3 files changed
+24 -10

No files matched your search

+5
View File
@@ -181,6 +181,11 @@
[super dealloc];
}
- (BOOL) requiresAuthentication
{
return ![mailingMechanism isEqualToString: @"sendmail"] && authenticationType;
}
- (NSException *) _sendmailSendData: (NSData *) mailData
toRecipients: (NSArray *) recipients
sender: (NSString *) sender