base64 message body decode when replying???
Kevin Cosgrove <[email protected]>
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
When I use exmh to reply to an email which is base64 encoded,
such as what comes from so many Blackberry users, the quoted text
of the original message shows up in the reply draft as base64.
How can I use exmh and/or nmh to convert the base64 body text
back into human readable form when replying or forwarding a
message? Both exmh and nmh work fine to view base64 messages.
I'm thinking that a mail user agent (MUA) solution would be
better than a mail transport agent (MTA) solution. As I use
exmh/nmh, then I think that a solution using some of the nmh
filtering functions is probably the way to go.
When I view the message in exmh, or with 'show' from the
command-line, it shows up as human readable text. The show:
line from my ~/.mh_profile is:
show: -showproc mhl
The mhl: line is:
mhl: -form .components/mhl.format
The contents of the mhl.format file is:
width=10000,compwidth=9
:**************************************************
To:leftadjust,compwidth=9
Cc:leftadjust,compwidth=9
Date:leftadjust,compwidth=9
Extras:leftadjust,nocomponent
Ignores=acceptlanguage,accept-language,accreditor
From:leftadjust,compwidth=9
Subject:leftadjust,compwidth=9
:**************************************************
:
body:nocomponent
So, 'show X', where X is the message number of a message containing
a message of "Content-Transfer-Encoding: base64" is displayed in
human readable text.
But, 'repl X' of the same message includes the raw base64 text in the
message draft. I've tried many, many, many combinations of options
to 'repl', such as -mime and -format, and -filter files like the one
above. Yet, the body text in the repl draft message is always still
in base 64.
I just can't figure this out. I've done quite a bit of manual
reading and net searching on this, but can't seem to find what
I'm after. Anyone know how to achieve what I'm after?
Thanks....
--
Kevin