diff options
author | Antoine Amarilli <a3nm@a3nm.net> | 2012-10-23 19:43:11 +0200 |
---|---|---|
committer | Antoine Amarilli <a3nm@a3nm.net> | 2012-10-23 19:53:24 +0200 |
commit | 423536fec98cc3140bd2f161ed808d38ddb6c08a (patch) | |
tree | f72bd01b89cb9d06b6eaf859e4aa0d04f8d09ecd /docs | |
parent | 5ed59825ffaeaacea90ea10be4b932c60428ed8e (diff) |
Add body_mimetype to tweak extract_body's defaults
Add a body_mimetype global configuration option to choose the default message
part to return as body in extract_body when types is None. Parts of the
preferred type will be returned if present, all text/* parts will be returned if
none parts of the preferred type exist. The default is "text/html", which should
result in the same behavior as before.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/configuration/alotrc_table | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/configuration/alotrc_table b/docs/source/configuration/alotrc_table index 64f415f5..f7695de8 100644 --- a/docs/source/configuration/alotrc_table +++ b/docs/source/configuration/alotrc_table @@ -24,6 +24,17 @@ :default: "~" +.. _body_mimetype: + +.. describe:: body_mimetype + + Preferred MIME type to display as mail body if it is present. + The fallback type is text/* if the preferred type is missing + + :type: string + :default: "text/html" + + .. _bufferclose-focus-offset: .. describe:: bufferclose_focus_offset |