mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-19 20:28:32 +00:00
Added support for SMTP PLAIN authentication
This commit is contained in:
@@ -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