nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] cruddy X-MH-Attach behavior


From: David Levine
Subject: Re: [Nmh-workers] cruddy X-MH-Attach behavior
Date: Thu, 09 Aug 2012 05:50:53 -0500

Steve wrote:

> I have...
>
>  send: -alias aliases -attach X-MH-Attach -attachformat 1
>
> and just sent a PDF with the msg body in plain text via...
>
>  What now? attach ~/Quote_GSCQ33155_1344264047128.pdf
>
> resulting in...
>
>  X-MH-Attach: /home/rader/Quote_GSCQ33155_1344264047128.pdf
>
> I expected, would have liked to have sent, is the msg body as plain
> text.
>
> What I actually received was the msg body encoded as
> application/octet-stream in base64.
>
> Bug?  Fixed since nmh-1.3?

Does your mhn.defaults contain this line?

  mhshow-suffix-application/pdf: .pdf

(The send(1) man page talks about all that.)

The mhn.defaults that comes with nmh 1.5 does, so it should
work out of the box (and it does for me) unless you override
something.

The "mhn.defaults" filename is hard-coded, so the only way
to override it entirely would be to put one in your
Mail directory.

David



reply via email to

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