rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | LICENSE

commit ba2b7832201fc7c056db37c33e8dff01fcc4117e
parent 7da6a7500874fe7e27de12ee32a11ac4f7517e4b
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon, 28 Mar 2016 11:55:20 +0200

Add mailcap example.

Diffstat:
examples/mailcap.example | 42++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+), 0 deletions(-)

diff --git a/examples/mailcap.example b/examples/mailcap.example @@ -0,0 +1,42 @@ +# +# mime/type; app %s; command[; command...] +# +# MAILCAPS env variable (PATH for mailcap) +# +# %t -> content-type +# \% escape +# %{named} parameter from the content-type +# %n -> sub-parts in »multipart« entity +# %F -> content-typ1 filename-1 content-type2 file-name2 ... +# +# multipart/mixed; boundary=42 -> %{boundary}=42 +# +# command (case-insensitive): +# view (%s -> input file or stdin or stdout) +# compose (%s -> output file) +# composetyped (+ content-type) (%s -> output file or stdout) +# edit (%s -> input file or stdin) +# print +# test +# needsterminal +# copiousoutput (output is to be displayed) +# description +# textualnewlines (convert to crlf before converting to b64) +# x11-bitmap (icon filename) +# nametemplate (ex: nametemplate=%s.gif) +# x-* (mail-specific) +# +# tests: +# application for test condition +# 0 -> true +# 1 -> false +# +# composedtype: +# return MIME-headers +# Content-Transfer-Encoding if b64 or qp +# Content-Type needed +# + +audio/*; vlc %s; +image/*; sxiv %s; +