Re: Troubles with html attachments
Le dimanche 08 février à 19:22, JaviMicro a écrit : * On 8 feb 2015, Philippe Delavalade wrote: When I receive an attachment in html format, I hope it is read with lynx but in fact, I can see it as a txt file. In ~/.mailcp I have the line : text/html; lynx -force_html '%s'; description=HTML Text; nametemplate=%s.html I have also tried text/html; /usr/bin/lynx -force_html %s; needsterminal; copiousoutput; nametemplate=%s.html But neither works. In the mime.types file I have just the line text/html html htm shtml You need: 1- To define a viewer in mailcap for text/html attachments (you have already done it) 2- 'auto_view' parameter in .muttrc: auto_view text/html Read the section with this sentence automatically viewing MIME attachments while in the pager in manual: http://www.mutt.org/doc/devel/manual.html#auto-view Thanks but I have already tried auto_view but it's not what I want and it does not help me anyway. I want to do 'v' and then click on the html attachment as I do successfully with mpeg or pdf attachments. If I do this with html, I see things like head META http-equiv=content-type content=text/html;charset=iso-8859-1 title.../title ... 3- Maybe you also need an 'alternative_order' parameter in .muttrc. attachments +A */.* attachments +I text/plain attachments +I text/html I don't understand what they mean and didn't find explanations in the manual. For 'attachments', look here: http://www.mutt.org/doc/devel/manual.html#ex-attach-count Yes, I read that but didn't understood what it exactly mean and do. Thanks anyway. -- Ph. Delavalade
Re: Troubles with html attachments
* Philippe Delavalade on Monday, February 09, 2015 at 11:16:55 +0100 Thanks but I have already tried auto_view but it's not what I want and it does not help me anyway. I want to do 'v' and then click on the html attachment as I do successfully with mpeg or pdf attachments. If I do this with html, I see things like head META http-equiv=content-type content=text/html;charset=iso-8859-1 title.../title ... You are probably running a more recent mutt now than you used to. For any attachment with main content-type text (which obviously includes text/html), you must now call view-mailcap - bound to m by default. But you can of course bind it to any key you like. -- Auftreten Tarzan und Martha - ich hatte Sankt Pauli unterschätzt. _MICHAEL WEBER: MARTHA_ --- http://www.blacktrash.org/baustellen/#martha
Can't attach ascii armored pgp key
Dear mutt mailing list Earlier today I had an interesting problem: Whenever I tried to send a mail with an ascii armored pgp key attached mutt only attached a small file containing: Version: 1 I did check that the file I was trying to attach actually contained more (they were respectively 3.5 kb and 6.6 kb). I'm using msmtp to send the mail. Am I doing something obviously wrong or is this a bug in mutt? Best regards, Adam pgp108OKCxGXk.pgp Description: PGP signature
Re: Troubles with html attachments
Le lundi 09 février à 11:55, Christian Ebert a écrit : * Philippe Delavalade on Monday, February 09, 2015 at 11:16:55 +0100 Thanks but I have already tried auto_view but it's not what I want and it does not help me anyway. I want to do 'v' and then click on the html attachment as I do successfully with mpeg or pdf attachments. If I do this with html, I see things like head META http-equiv=content-type content=text/html;charset=iso-8859-1 title.../title ... You are probably running a more recent mutt now than you used to. It is the 1.5.23 in each case. For any attachment with main content-type text (which obviously includes text/html), you must now call view-mailcap - bound to m by default. But you can of course bind it to any key you like. I tried m but it does nothing... Thanks. -- Ph. Delavalade