From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-mime-htmlize: visual representation (thunderbird) Date: Wed, 11 Apr 2012 00:23:54 -0400 Message-ID: <87d37e6gmd.fsf@gmx.com> References: <87ehsei9zj.fsf@gilgamesch.quim.ucm.es> <8762dky9pt.fsf@gmx.com> <4F787201.2020403@mat.ucm.es> <87wr5zjtje.fsf@gmx.com> <871unv7ncy.fsf@gilgamesch.quim.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHqzV-0001w7-Ao for emacs-orgmode@gnu.org; Wed, 11 Apr 2012 02:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHqzR-0001Ml-OW for emacs-orgmode@gnu.org; Wed, 11 Apr 2012 02:25:16 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:55302) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SHqzR-0001MU-Hq for emacs-orgmode@gnu.org; Wed, 11 Apr 2012 02:25:13 -0400 In-Reply-To: <871unv7ncy.fsf@gilgamesch.quim.ucm.es> (Uwe Brauer's message of "Tue, 10 Apr 2012 15:00:45 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Uwe Brauer Cc: emacs-orgmode@gnu.org, Eric Schulte Uwe Brauer writes: >>> On Sun, 01 Apr 2012 12:38:12 -0400, Eric Schulte wrote: > >> > > > I'm not clear on how this differs from the messages produced using > > org-mime-htmlize, and it has been a while since I've looked into email > > mime mechanics. However, since the emails generated using > > org-mime-htmlize display correctly in Gmail and in gnus I'm inclined to > > say that this is a Thunderbird issue and leave it for them to debug. > > I send a bug report to the Thunderbird developer and the > answer was that *one* source of the problem is > > ,---- > | Here, the message has a multipart/mixed structure at the top > | with "cid:" references to the image/png part which is inside > | that structure (the text/html part is correctly in a > | multipart/alternative but there is no multipart/related; > | both images are in the multipart/mixed context). Also, the > | images have a "Content-Disposition: attachment", both > | reasons to show them as attachment as Thunderbird does it. > | > | Now it seems that Gmail completely ignores multipart/related > | vs. mixed and simply takes the reference regardless of that > | context, which would explain what you see. Strictly > | speaking, the message is incorrectly formed. Please file a > | bug with Emacs, the latexit structure appears to be correct. > `---- > > > So how could "Content-Disposition: attachment" be changed to > "Content-Disposition: inline" in your code? I can't find the > relevant piece of code. > > Thanks > > Uwe > Hi Uwe, Thanks for sending along this helpful review. I've just pushed two changes to org-mime so that it now (1) wraps html and images in a multipart/related mime structure and (2) marks images as "disposition inline" so that they don't show up as attachments. I can confirm this new version works in gnus and in the gmx webmail client as expected, but I don't have access to Thunderbird to check the behavior there. Please let me know if this fixes the problem. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte/