mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-10 22:37:12 +00:00
1 parent
c600aa261c
commit
64f0519f7b
3 files changed
+24
-10
No files matched your search
@@ -42,7 +42,7 @@
|
||||
+ (SOGoMailer *) mailerWithDomainDefaults: (SOGoDomainDefaults *) dd;
|
||||
|
||||
- (id) initWithDomainDefaults: (SOGoDomainDefaults *) dd;
|
||||
|
||||
- (BOOL) requiresAuthentication;
|
||||
- (NSException *) sendMailData: (NSData *) data
|
||||
toRecipients: (NSArray *) recipients
|
||||
sender: (NSString *) sender
|
||||
|
||||
@@ -181,6 +181,11 @@
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (BOOL) requiresAuthentication
|
||||
{
|
||||
return ![mailingMechanism isEqualToString: @"sendmail"] && authenticationType;
|
||||
}
|
||||
|
||||
- (NSException *) _sendmailSendData: (NSData *) mailData
|
||||
toRecipients: (NSArray *) recipients
|
||||
sender: (NSString *) sender
|
||||
|
||||
Reference in new issue
Block a user