nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] base64 ... just looking for advice

2016-02-20 12:53:12
I wrote:

Wolfgang wrote:

So should I kind of file a "feature request" to add some option to
mhfixmsg that makes it decode "text/plain" only, while leaving other
text parts (like "text/html" in my case) alone?

[Or an option that allows to pass a list of Content-Types which shall
be processed, something like "-decodeparts text/plain,text/html" ?]

-decodeparts fits in to what I wanted originally, which is to allow decoding 
content of any type, not just text.  It won't be hard but it might be a few d
ays/weeks before I can get to it.

I added a -decodetypes switch to mhfixmsg:

    -decodetypes type/[subtype][,...]

    The -decodetypes switch specifies the message parts, by type and
    optionally subtype, to which -decodetext applies.  Its argument is a
    comma-separated list of type/subtype elements.  If an element does not
    contain a subtype, then -decodetext applies to all subtypes of the
    type.  The default is -decodetypes text; it can be overridden, e.g.,
    with -decodetypes text/plain to restrict -decodetext to just text/plain
    parts.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>