mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-18 13:13:31 +00:00
feat(mail(web)): Templates folder for pre-defined drafts
To create a template, the user needs to: - define a mailbox as the Templates folder; - move a draft to this special folder. Fixes #4320 Fixes #5363
This commit is contained in:
@@ -492,6 +492,17 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
stringByEncodingImap4FolderName];
|
||||
}
|
||||
|
||||
- (void) setTemplatesFolderName: (NSString *) newValue
|
||||
{
|
||||
[self setObject: newValue forKey: @"SOGoTemplatesFolderName"];
|
||||
}
|
||||
|
||||
- (NSString *) templatesFolderName
|
||||
{
|
||||
return [[self stringForKey: @"SOGoTemplatesFolderName"]
|
||||
stringByEncodingImap4FolderName];
|
||||
}
|
||||
|
||||
- (void) setFirstDayOfWeek: (int) newValue
|
||||
{
|
||||
[self setInteger: newValue forKey: @"SOGoFirstDayOfWeek"];
|
||||
|
||||
Reference in New Issue
Block a user