Re: view multipart in another GUI mailer
although your method works nicely for some emails it doesn't work for
ones generated with nasty MS Word where images' SRC strings are quite
screwed: like
src="cid:image001.gif@01C4967D.347AADB0"
surely I can adjust your script even more and use sed to correct them a
bit, but... that is quite of handtweeking :-)
I just don't understand why not mozilla neither sylphead modularized out
'view image' module, so I could just feed whole message body to it to
open... he heh
--
Yarik
On Sat, Sep 11, 2004 at 04:31:08AM +1000, Joshua Crawford wrote:
> * mutt@xxxxxxxxxxxxxx <mutt@xxxxxxxxxxxxxx> [2004-09-10 12:02 -0400]:
> > Dear Mutture people,
> > Can you please help me finish my search for such feature in mutt.
> > So mutt handles multipart messages nicely, but if it contains html and
> > images which are necessary for that html, then if I call mozilla to
> > handle html part, images are not there so not drawn correctly. That is
> > why I have more general question:
> > Is it possible to feed/pipe full message body (header+body+attachements)
> > to some other GUI-based mailer (couldn't find if mozilla -mail can read
> > message from a file) so it could render damn html letter with all bells
> > and whistles.
> You know, when confronted with this problem myself, I never once considered
> using mozilla mail. Weird. I'll have to look into it now.
> > Thank you in advance for ideas/hints
> Attached is the script I use for this purpose (you'll want to change galeon
> to mozilla, I imagine), and here are the macros to go with it.
> macro index <F11> "<copy-message>~/.mutt/tmpbox\n<enter><enter-command>unset
> wait_key\n<shell-escape>~/bin/mutt-view-html\n<enter-command>set wait_key\n"
> macro pager <F11> "<copy-message>~/.mutt/tmpbox\n<enter><enter-command>unset
> wait_key\n<shell-escape>~/bin/mutt-view-html\n<enter-command>set wait_key\n"
> The script uses mpack, which can be downloaded from
> <ftp://ftp.andrew.cmu.edu/pub/mpack/>.
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
Key http://www.onerussian.com/gpg-yoh.asc
GPG fingerprint 3BB6 E124 0643 A615 6F00 6854 8D11 4563 75C0 24C8