| Newsgroups |
gmane.mail.exmh.user |
| Message-ID |
<[email protected]> |
> > What usually works for me is to right click on the part's message
> > header and select "Extract a message/rfs822 into current folder".
> > You should then be able to process the extracted message in the
> > usual way.
> In command line you might have luck with
>
> mhn -list <msgno> to see what parts are contained in the message
> mhn -store -auto to unpack the message into the current folder
>
> Good luck....
If the inner msg you want to repl to is always the Nth part, then maybe
adding -part N to mhshow invocation in the enclosed script will be a whole
cli solution? Or strip -part N from $* and use it in mhshow (at that point
i'd recode in perl.)
Fyi/fwiw, I call the script "replx", and I use it a lot these days. It uses
mhshow to pretty print the enclosed msg you're replying to--increasing
necessary with so many html-only and other quoted-printable encoded msgs
being sent. See also the exmh archives ca Jun 2004.
steve
--
#!/bin/bash
repl -filter /dev/null -nodraftfolder -nowhatnowproc $*
(cat ~/Mail/draft; echo -e "\n > ---- Original Message ----" ; \
mhshow cur -type text -nopause -nomoreproc \
| egrep -v '^Return-Path|^Delivery-Date|^part[ ]+text/plain' \
| egrep -v '^X-|^MIME' \
| sed 's/^/ > /' \
) > ~/Mail/drafts/999
comp -use -draftfolder drafts -draftmessage 999
rm -f ~/Mail/draft
rm -f ~/Mail/drafts/999