mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 04:20:33 +00:00
Monotone-Parent: cbd05d470bee2e063abb94750478a7df2245b44b
Monotone-Revision: b60062325db9b515049a18a0ab18bb9e528b1499 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-22T15:46:49 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-05-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoDraftObject.m ([SOGoDraftObject
|
||||
-sendMail]): the email passed as parameter to sendmail is now the
|
||||
bare user email.
|
||||
|
||||
2008-05-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailFolderActions.m ([UIxMailFolderActions
|
||||
|
||||
@@ -1269,6 +1269,21 @@ static BOOL showTextAttachmentsInline = NO;
|
||||
return allRecipients;
|
||||
}
|
||||
|
||||
- (NSArray *) allBareRecipients
|
||||
{
|
||||
NSMutableArray *bareRecipients;
|
||||
NSEnumerator *allRecipients;
|
||||
NSString *recipient;
|
||||
|
||||
bareRecipients = [NSMutableArray array];
|
||||
|
||||
allRecipients = [[self allRecipients] objectEnumerator];
|
||||
while ((recipient = [allRecipients nextObject]))
|
||||
[bareRecipients addObject: [recipient pureEMailAddress]];
|
||||
|
||||
return bareRecipients;
|
||||
}
|
||||
|
||||
- (NSException *) sendMail
|
||||
{
|
||||
NSException *error;
|
||||
@@ -1284,7 +1299,7 @@ static BOOL showTextAttachmentsInline = NO;
|
||||
{
|
||||
message = [self mimeMessageAsData];
|
||||
error = [[SOGoMailer sharedMailer] sendMailData: message
|
||||
toRecipients: [self allRecipients]
|
||||
toRecipients: [self allBareRecipients]
|
||||
sender: [self sender]];
|
||||
if (!error)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user