From 8ec83b010a8efcfe87df9c2bceec318e94c6ca53 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Thu, 5 Oct 2023 17:30:13 +0200 Subject: send: add option to overwrite copy-to folder Add -t option to specify a folder that will overwrite the default Copy-To folder from accounts.conf. This allows you to keep the sent messages in the desired folder. Use templates to create a keybind and always keep the sent messages in the currently selected folder: :send -t {{.Folder}} Fixes: https://todo.sr.ht/~rjarry/aerc/187 Signed-off-by: Koni Marti Acked-by: Robin Jarry Tested-by: Maarten van Gompel --- doc/aerc.1.scd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/aerc.1.scd') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index d981e014..40cda9a1 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -688,13 +688,15 @@ message list, the message in the message viewer, etc). specified is a directory or ends in _/_, aerc will use the attachment filename if available or a generated name if not. -*:send* [*-a* __] +*:send* [*-a* __] [*-t* __] Sends the message using this accounts default outgoing transport configuration. For details on configuring outgoing mail delivery consult *aerc-accounts*(5). *-a*: Archive the message being replied to. See *:archive* for schemes. + *-t*: Overrides the Copy-To folder for saving the message. + *:switch-account* __++ *:switch-account* *-n*++ *:switch-account* *-p* -- cgit