unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18792: multipart/related with "cid:" image not shown
@ 2014-10-22 14:01 Stefan Monnier
  2017-01-25 20:32 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2014-10-22 14:01 UTC (permalink / raw)
  To: 18792

Package: Emacs,gnus
Version: 24.4.51


[ This also affects trunk, and has probably been going on for a while
  now.  ]

I regularly receive emails that contain "a tiny bit of HTML text around
a picture".  Often these have the following MIME structure:

    multipart/related
      multipart/alternative
        text/plain
        text/html
      image/jpeg

where the HTML refers to the image via a "cid:" URL.

Here's the problem: Gnus seems to only show me the first element of the
multipart/related and does not let me get access to the image.

More specifically, I get a display such as:

   From: "Toto" <toto@gnu.ca>
   Subject: blabla
   To: Stefan Monnier <monnier@iro.umontreal.ca>
   Date: Wed, 22 Oct 2014 12:59:18 +0000 (47 minutes, 13 seconds ago)
   
   1.  (*) text/plain          ( ) text/html           
   
   Mira esto
   [cid:ED58E6891D72E141A6C22D4BAFEF436F@gnu.ca]

Notice the lack of any button to view the image/jpeg subpart.
The same problem shows up if I select the text/html:

   From: "Toto" <toto@gnu.ca>
   Subject: blabla
   To: Stefan Monnier <monnier@iro.umontreal.ca>
   Date: Wed, 22 Oct 2014 12:59:18 +0000 (47 minutes, 13 seconds ago)
   
   1.  ( ) text/plain          (*) text/html           
   
       Mira esto
       
   *

It looks marginally different because it's rendered by shr.el, but the
problem remains that I have no access to the attached image.


        Stefan





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-12 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 14:01 bug#18792: multipart/related with "cid:" image not shown Stefan Monnier
2017-01-25 20:32 ` Lars Ingebrigtsen
2017-01-25 21:44   ` Stefan Monnier
2017-01-25 21:51     ` Lars Ingebrigtsen
2018-04-12 21:24       ` Lars Ingebrigtsen
2017-01-26  9:16     ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).