all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 18792@debbugs.gnu.org
Subject: bug#18792: multipart/related with "cid:" image not shown
Date: Wed, 22 Oct 2014 10:01:21 -0400	[thread overview]
Message-ID: <jwv61fcb3v2.fsf@iro.umontreal.ca> (raw)

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





             reply	other threads:[~2014-10-22 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 14:01 Stefan Monnier [this message]
2017-01-25 20:32 ` bug#18792: multipart/related with "cid:" image not shown 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv61fcb3v2.fsf@iro.umontreal.ca \
    --to=monnier@iro.umontreal.ca \
    --cc=18792@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.