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
+4 -1
View File
@@ -122,9 +122,12 @@
message = [NGMimeMessage messageWithHeader: headers];
[message setBody: content];
to = [attendee rfc822Email];
/* TODO: SMTP authentication for services */
[mailer sendMimePart: message
toRecipients: [NSArray arrayWithObject: to]
sender: from];
sender: from
withAuthenticator: nil inContext: nil];
}
- (void) _processAlarm: (iCalAlarm *) alarm