Added support for SMTP PLAIN authentication

This commit is contained in:
Wolfgang Sourdeau
2012-10-16 16:56:48 -04:00
parent ef5119f765
commit 5a76790418
12 changed files with 142 additions and 60 deletions
+5 -3
View File
@@ -1569,9 +1569,11 @@ static NSString *userAgent = nil;
dd = [[context activeUser] domainDefaults];
error = [[SOGoMailer mailerWithDomainDefaults: dd]
sendMailData: cleaned_message
toRecipients: [self allBareRecipients]
sender: [self sender]];
sendMailData: cleaned_message
toRecipients: [self allBareRecipients]
sender: [self sender]
withAuthenticator: [self authenticatorInContext: context]
inContext: context];
if (!error && copyToSent)
{
sentFolder = [[self mailAccountFolder] sentFolderInContext: context];