Re: Apple Mail multipart message not displayed correctly

Kazuhiro Ito <[email protected]> Mon, 29 Apr 2019 22:28:38 +0900
Newsgroups gmane.mail.wanderlust.general
Message-ID <86y33tq6t5.wl--xmue__20457.0069837914$1556544642$gmane$org@d1.dion.ne.jp>
Hi, sorry for late response.

> There's a
> multipart/related body containing a multipart/alternative part and an
> image/png part, and the image part has a valid Content-ID that's
> referenced by one of the multipart/alternative sub-parts.  All other
> HTML-capable mailers I know of will display the image properly when
> formatting and displaying the HTML content.
> 
> However the image is not displayed with WL when the text/html part
> content is shown (with w3m) [only the "alt" text is shown and nothing I
> could find would toggle that text to show the actual image), and of
> ...

Emacs-w3m searches the image from root entity, which means that
emacs-w3m should find the image regardless of the image part position.
There should be another cause.
For example,

> 	Content-ID: <ii_jtps8ufg0>

is not valid cid.  If it is real cid, try below code.

(eval-after-load "mime"
  '(progn
     (setq mime-field-parser-alist
     	   (delq (assq 'Content-Id mime-field-parser-alist)
     		 mime-field-parser-alist))))

If your problem is due to emacs-w3m, you may be able to avoid it by
using eww (built-in libxml2 is required) instead of emacs-w3m.
Try

(setq mime-view-text/html-previewer 'shr)

and redisplay the message.

-- 
Kazuhiro Ito