nmh-workers
[Top] [All Lists]

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

2012-08-09 10:51:16
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

_______________________________________________
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>