Download attachments of a message as a zip archive

This commit is contained in:
Francis Lachapelle
2016-12-07 14:37:59 -05:00
parent 2a2ebd553e
commit 011fae8a65
17 changed files with 487 additions and 289 deletions
+12
View File
@@ -312,6 +312,18 @@ static NSString *mailETag = nil;
return response;
}
- (id <WOActionResults>) archiveAttachmentsAction
{
NSString *name;
SOGoMailObject *co;
co = [self clientObject];
name = [NSString stringWithFormat: @"%@-%@.zip",
[self labelForKey: @"attachments"], [co nameInContainer]];
return [co archiveAllFilesinArchiveNamed: name];
}
/* MDN */
- (BOOL) _userHasEMail: (NSString *) email