From 21dc73df56f4b610d722f5d580a9de5c9e73fb90 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 14 Feb 2022 09:33:53 -0500 Subject: [PATCH] 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 --- UI/MailerUI/UIxMailFolderActions.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UI/MailerUI/UIxMailFolderActions.m b/UI/MailerUI/UIxMailFolderActions.m index dfae4bc70..b95ed67df 100644 --- a/UI/MailerUI/UIxMailFolderActions.m +++ b/UI/MailerUI/UIxMailFolderActions.m @@ -832,6 +832,11 @@ return [self _setFolderPurpose: @"Junk"]; } +- (WOResponse *) setAsTemplatesFolderAction +{ + return [self _setFolderPurpose: @"Templates"]; +} + - (WOResponse *) expungeAction { SOGoMailAccount *account;