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 -2
View File
@@ -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
+5 -3
View File
@@ -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