[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: David Levine
Subject: Re: [Nmh-workers] base64 ... just looking for advice
Date: Sat, 20 Feb 2016 12:53:01 -0600

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]