mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-10 19:05:09 +00:00
@@ -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