From 0e6b9dab0c2802c76ecb18adde37050b6d6ee455 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Tue, 5 Jul 2022 21:44:32 +0200 Subject: [PATCH] doc: describe parameters for mailto option Signed-off-by: Koni Marti Acked-by: Moritz Poldrack --- doc/aerc.1.scd | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index f1a6a5b..5928bf0 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -16,10 +16,28 @@ from your terminal. *-v* Prints the installed version of aerc and exits. -*mailto:...* - Opens the composer with the address in the "to" field. +*mailto:address[,address][?query[&query]]* + Opens the composer with the address(es) in the "to" field. These + addresses must not be percent encoded. If _aerc_ is already running, the composer is started in this instance, otherwise _aerc_ will be started. + The following (optional) query parameters are supported: + +[[ *Query* +:[ *Description* +| subject= +: Subject line will be completed with the text +| body= +: Message body will be completed with the text +| cc= +: CC header will be completed with the list of addresses +| bcc= +: BCC header will be completed with the list of addresses +| in-reply-to=<\> +: In-reply-to header will be set to the message id + + Note that reserved characters in the queries must be percent encoded. + # RUNTIME COMMANDS