summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-07-05 21:44:32 +0200
committerRobin Jarry <robin@jarry.cc>2022-07-10 20:34:47 +0200
commit0e6b9dab0c2802c76ecb18adde37050b6d6ee455 (patch)
treed1f4fe675c8308b0e1af82e682eaa9d9fd203bd5
parentc5daf434604f6b282d95ec6e5220c64988b476d9 (diff)
downloadaerc-0e6b9dab0c2802c76ecb18adde37050b6d6ee455.zip
doc: describe parameters for mailto option
Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
-rw-r--r--doc/aerc.1.scd22
1 files 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=<text>
+: Subject line will be completed with the text
+| body=<text>
+: Message body will be completed with the text
+| cc=<address[,address]>
+: CC header will be completed with the list of addresses
+| bcc=<address[,address]>
+: BCC header will be completed with the list of addresses
+| in-reply-to=<\<message-id\>>
+: In-reply-to header will be set to the message id
+
+ Note that reserved characters in the queries must be percent encoded.
+
# RUNTIME COMMANDS