From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.52.187.5 with SMTP id fo5cs235389vdc; Wed, 11 May 2011 08:11:25 -0700 (PDT) Received: by 10.224.173.212 with SMTP id q20mr8156090qaz.27.1305126684937; Wed, 11 May 2011 08:11:24 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id o9si419692qcs.178.2011.05.11.08.11.24; Wed, 11 May 2011 08:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9150518583A5; Wed, 11 May 2011 11:11:24 -0400 (EDT) X-Greylist: delayed 2197 seconds by postgrey-1.31 at rubyforge.org; Wed, 11 May 2011 10:52:05 EDT Received: from treacle.ucs.ed.ac.uk (treacle.ucs.ed.ac.uk [129.215.16.102]) by rubyforge.org (Postfix) with ESMTP id E27E818581B2 for ; Wed, 11 May 2011 10:52:05 -0400 (EDT) Received: from lmtp2.ucs.ed.ac.uk (lmtp2.ucs.ed.ac.uk [129.215.149.71]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id p4BEF9t3025187; Wed, 11 May 2011 15:15:14 +0100 (BST) Received: from localhost (dhcp-90-080.inf.ed.ac.uk [129.215.90.80]) (authenticated user=s0976898 mech=PLAIN bits=0) by lmtp2.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id p4BEF5iH008147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 11 May 2011 15:15:05 +0100 (BST) From: Patrick Totzke To: sup-devel In-reply-to: References: Date: Wed, 11 May 2011 15:15:17 +0100 Message-Id: <1305123066-sup-804@optimusprime> User-Agent: Sup/git MIME-Version: 1.0 X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102 X-Scanned-By: MIMEDefang 2.52 on 129.215.149.71 Subject: Re: [sup-devel] How to deal with HTML attachments? X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0908929596==" Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --===============0908929596== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; boundary="=-1305123317-362483-6258-424-1-="; protocol="application/pgp-signature" --=-1305123317-362483-6258-424-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I use a mime-hook like this for inline html: in ~/.sup/hooks$ cat mime-decode.rb : case content_type when "text/html" `/usr/bin/lynx -dump '#{filename}'` end To view html when hitting enter you could set your browser in ~/.mailcap:= text/html; firefox %s best, /p Excerpts from Steve's message of Wed May 11 14:53:27 +0100 2011: > Hi, > = > A couple days ago, a significant portion of my incoming mail is > arriving as an HTML attachment only, where previously, HTML formatted > emails showed up as semi-readable text and also as an attachment. I > have not messed with sup recently. > = > How do you recommend dealing with HTML attachments? I hit on > the attachment and it says "Couldn't execute view command, viewing as > text." Any way to bring this up in a web browser? > = > Thanks. --=-1305123317-362483-6258-424-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3KmfUACgkQdOcBPlp2/E9nOQCfTrUlb8WzQtKGNPSUjLKQIsV8 DCIAn2PQDyevpsDH2ULWh0g56XF352FF =YDSs -----END PGP SIGNATURE----- --=-1305123317-362483-6258-424-1-=-- --===============0908929596== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel --===============0908929596==--