On 2010-09-04, Charles Jie <[email protected]> wrote:
> Dear mutt users,
>
> I've been using mutt for 7 years. From time to time, such idea may flash
> in my brain.
>
>     I can read most of my daily mail with mutt without problem.
>
>     But sometimes some friends may send me an html mail with pretty
>     rich inline images. Such embedded images need to be seen in right
>     context (there are related text arround them).
>
>     My current practice is bouncing the mail to another user in my
>     linux box, and launch Thunderbird to get and read it.

I use Firefox instead of Thunderbird. In my .mailcap file I have this
entry:

  text/html; links -force-html -dump %s; copiousoutput; print = firefoxurl %s;

That uses "links" to render html by default.  If that's not good
enough, I hit "p" in mutt to "print" the html, and that lauches
firefox using this script:

---------------------------------firefoxurl---------------------------------
#!/bin/bash
set -x
MRC="mozilla-xremote-client -a firefox"
URL="$1"
if $MRC 'ping()' 2>/dev/null ; then
  $MRC "openURL($URL,new-tab)"
else
  firefox "$URL"
fi  
----------------------------------------------------------------------------

I know that's not quite what you're asking for, but maybe it's a start.

If that's not good enough, then I just launch Thunderbird manually
(which is set up to use the same IMAP server that mutt is using).


Reply via email to