<<< Date Index >>>     <<< Thread Index >>>

Re: Export HTML emails with images



El día Friday, February 27, 2009 a las 04:35:13PM +0100, Christian Ebert 
escribió:

> Shamelessly plugging my muttils package (needs Python >= 2.4):
> 
> http://www.blacktrash.org/hg/muttils/
> 
> You can use its viewhtmlmsg command in a macro:
> 
> macro index,pager <F7> "\
> <enter-command> set my_wait_key=\$wait_key wait_key=no<enter>\
> <pipe-message>viewhtmlmsg<enter>\
> <enter-command> set wait_key=\$my_wait_key &my_wait_key<enter>\
> " "view HTML in browser"
> 
> macro index,pager <F8> "\
> <enter-command> set my_wait_key=\$wait_key wait_key=no<enter>\
> <pipe-message>viewhtmlmsg -s<enter>\
> <enter-command> set wait_key=\$my_wait_key &my_wait_key<enter>\
> " "view HTML (safe) in browser"

Hi Christian,

Thanks for this piece of software; I have set in ~/.muttrc:

macro pager <F8> "\
<enter-command> set my_wait_key=\$wait_key wait_key=no<enter>\
<pipe-message>PYTHONPATH=~/lib/python /home/guru/bin/viewhtmlmsg -b
konqueror -s<enter>\
<enter-command> set wait_key=\$my_wait_key &my_wait_key<enter>\
" "view HTML (safe) in browser"
...

this brings up on F8 a konqueror window with the HTML mail, but in the
mutt-window some error like:

Press any key to continue...  (I press CR)
Usage: set variable=yes|no

this is with mutt 1.4.2.3i; any idea? thx

        matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz@xxxxxxxx> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/