mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-04 16:29:21 +00:00
Added support for SMTP PLAIN authentication
This commit is contained in:
1 parent
ef5119f765
commit
5a76790418
12 files changed
+142
-60
No files matched your search
@@ -29,14 +29,17 @@
|
||||
@class NSException;
|
||||
@class NSString;
|
||||
|
||||
@class WOContext;
|
||||
@class SOGoDomainDefaults;
|
||||
|
||||
@protocol NGMimePart;
|
||||
@protocol SOGoAuthenticator;
|
||||
|
||||
@interface SOGoMailer : NSObject
|
||||
{
|
||||
NSString *mailingMechanism;
|
||||
NSString *smtpServer;
|
||||
NSString *authenticationType;
|
||||
}
|
||||
|
||||
+ (SOGoMailer *) mailerWithDomainDefaults: (SOGoDomainDefaults *) dd;
|
||||
@@ -45,13 +48,19 @@
|
||||
|
||||
- (NSException *) sendMailData: (NSData *) data
|
||||
toRecipients: (NSArray *) recipients
|
||||
sender: (NSString *) sender;
|
||||
sender: (NSString *) sender
|
||||
withAuthenticator: (id <SOGoAuthenticator>) authenticator
|
||||
inContext: (WOContext *) woContext;
|
||||
- (NSException *) sendMailAtPath: (NSString *) filename
|
||||
toRecipients: (NSArray *) recipients
|
||||
sender: (NSString *) sender;
|
||||
sender: (NSString *) sender
|
||||
withAuthenticator: (id <SOGoAuthenticator>) authenticator
|
||||
inContext: (WOContext *) woContext;
|
||||
- (NSException *) sendMimePart: (id <NGMimePart>) part
|
||||
toRecipients: (NSArray *) recipients
|
||||
sender: (NSString *) sender;
|
||||
sender: (NSString *) sender
|
||||
withAuthenticator: (id <SOGoAuthenticator>) authenticator
|
||||
inContext: (WOContext *) woContext;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in new issue
Block a user