On Sun, May 11, 2008 at 03:42:26PM +1000, hce wrote: > On 5/10/08, Andrei Popescu <andreimpopescu@gmail.com> wrote: > > On Sat, May 10, 2008 at 08:57:20PM +1000, hce wrote: > > > Hi, > > > > > > In FC6, it automatically launches the browser when I open an HTML > > > email in mutt. I've just learned because the FC has its own htmlview. > > > Is it possible to set that feature in Debian as well to display the > > > HTML emails in a browser when I open an html email in mutt? Please > > > elaborate it. > > > > > > It depends what your definition of view is. I have this in .muttrc > > > > ,----[ .muttrc ] > > | # view html mails as text > > | set implicit_autoview > > | > > | # prefer text over html > > | alternative_order text/plain text/html > > `---- > > > > With this the html is rendered to text inside the mutt pager. You also > > need some program installed to process the html. I have lynx and links2 > > installed, but don't know which one is used. > > I prefer to view the html emails in firefox. I guess lynx may also do > the view, but I never use the lynx before. > the benefit to Andrei's method (which I use as well **) is that you don't have to change windows or wait for a browser to start up (well, okay, technically you do...). The html just pops up rendered right in the frame. Very easy. A ** like this: .muttrc set mailcap_path=~/.mutt_mailcap alternative_order text/plain text/html auto_view text/html and then in ~/.mutt_mailcap text/html; /usr/bin/w3m '%s'; needsterminal; description=HTML Text; / nametemplate=%s.html spawns w3m right in the terminal.
Attachment:
signature.asc
Description: Digital signature