mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 01:38:12 +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
@@ -478,9 +478,11 @@ static NSString *mailETag = nil;
|
||||
[generator autorelease];
|
||||
|
||||
if (![[SOGoMailer mailerWithDomainDefaults: dd]
|
||||
sendMailData: [generator generateMimeFromPart: message]
|
||||
toRecipients: [NSArray arrayWithObject: email]
|
||||
sender: [self _matchingIdentityEMail]])
|
||||
sendMailData: [generator generateMimeFromPart: message]
|
||||
toRecipients: [NSArray arrayWithObject: email]
|
||||
sender: [self _matchingIdentityEMail]
|
||||
withAuthenticator: [self authenticatorInContext: context]
|
||||
inContext: context])
|
||||
[self _flagMessageWithMDNSent];
|
||||
}
|
||||
|
||||
|
||||
@@ -234,9 +234,12 @@
|
||||
[body release];
|
||||
|
||||
mailer = [SOGoMailer mailerWithDomainDefaults: [activeUser domainDefaults]];
|
||||
[mailer sendMimePart: message
|
||||
[mailer
|
||||
sendMimePart: message
|
||||
toRecipients: [NSArray arrayWithObject: recipient]
|
||||
sender: from];
|
||||
sender: from
|
||||
withAuthenticator: [self authenticatorInContext: context]
|
||||
inContext: context];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -205,9 +205,11 @@
|
||||
|
||||
dd = [activeUser domainDefaults];
|
||||
[[SOGoMailer mailerWithDomainDefaults: dd]
|
||||
sendMimePart: message
|
||||
toRecipients: [NSArray arrayWithObject: recipient]
|
||||
sender: from];
|
||||
sendMimePart: message
|
||||
toRecipients: [NSArray arrayWithObject: recipient]
|
||||
sender: from
|
||||
withAuthenticator: [self authenticatorInContext: context]
|
||||
inContext: context];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in new issue
Block a user