mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Download attachments of a message as a zip archive
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user