mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
See ChangeLog
Monotone-Parent: bbd81440c9e99bd7320191a273476ee80fb5b10b Monotone-Revision: ede90c4ec21ca642e49b4287679877bd02717ed6 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-06-01T17:54:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-06-01 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoMailAccount.m (-updateFilters): write
|
||||
multiple 'redirect' directives when forwarding to multiple email
|
||||
addresses.
|
||||
|
||||
2011-05-31 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/SchedulerUI.js (initCalendarSelector): use
|
||||
|
||||
@@ -358,13 +358,22 @@ static NSString *sieveScriptName = @"sogo";
|
||||
|
||||
if (values && [[values objectForKey: @"enabled"] boolValue])
|
||||
{
|
||||
id addresses;
|
||||
int i;
|
||||
|
||||
b = YES;
|
||||
|
||||
v = [values objectForKey: @"forwardAddress"];
|
||||
|
||||
if (v && [v length] > 0)
|
||||
[script appendFormat: @"redirect \"%@\";\r\n", v];
|
||||
addresses = [values objectForKey: @"forwardAddress"];
|
||||
if ([addresses isKindOfClass: [NSString class]])
|
||||
addresses = [NSArray arrayWithObject: addresses];
|
||||
|
||||
for (i = 0; i < [addresses count]; i++)
|
||||
{
|
||||
v = [addresses objectAtIndex: i];
|
||||
if (v && [v length] > 0)
|
||||
[script appendFormat: @"redirect \"%@\";\r\n", v];
|
||||
}
|
||||
|
||||
if ([[values objectForKey: @"keepCopy"] boolValue])
|
||||
[script appendString: @"keep;\r\n"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user