openchange: Fix submitWithFlags to submit to BCC-ed recipients also
this reintroduces commit 7efb263c659451d2c781547a5b38cb5d01ed837f Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>pull/49/head
parent
dd7200e00f
commit
4b383705ff
|
@ -865,7 +865,7 @@ MakeMessageBody (NSDictionary *mailProperties, NSDictionary *attachmentParts, NS
|
|||
NSMutableArray *recipientEmails;
|
||||
NSArray *list;
|
||||
NSString *recId, *from, *msgClass;
|
||||
NSUInteger count;
|
||||
enum ulRecipClass type;
|
||||
SOGoUser *activeUser;
|
||||
SOGoDomainDefaults *dd;
|
||||
NSException *error;
|
||||
|
@ -881,9 +881,9 @@ MakeMessageBody (NSDictionary *mailProperties, NSDictionary *attachmentParts, NS
|
|||
|
||||
recipientEmails = [NSMutableArray arrayWithCapacity: 32];
|
||||
recipients = [properties objectForKey: @"recipients"];
|
||||
for (count = 0; count < 3; count++)
|
||||
for (type = MAPI_ORIG; type <= MAPI_BCC; type++)
|
||||
{
|
||||
recId = recTypes[count];
|
||||
recId = recTypes[type];
|
||||
list = [recipients objectForKey: recId];
|
||||
[recipientEmails
|
||||
addObjectsFromArray: [list objectsForKey: @"email"
|
||||
|
|
Loading…
Reference in New Issue