unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: yangsheng6810 <yangsheng6810@gmail.com>, notmuch@notmuchmail.org
Subject: Re: How to show embedded images in HTML emails?
Date: Wed, 27 Feb 2019 09:50:35 +0000	[thread overview]
Message-ID: <m2bm2xk1as.fsf@dme.org> (raw)
In-Reply-To: <1551221350613-0.post@n3.nabble.com>

On Tuesday, 2019-02-26 at 15:49:10 -07, yangsheng6810 wrote:

> I am a new comer to notmuch switching from mu4e. Most of notmuch feels really
> great, until I tried to open some HTML emails with images in it. I tried
> different setting of =mm-text-html-renderer=, the best I got was with
> gnus-w3m which shows images but not at the correct location. (I send and
> receive emails with rendered equations and positioning of these rendered
> images is crucial) After removing =copiousoutput= from mailcap of text/html,
> I managed to make notmuch-view-part work and open it in an external browser.
>
> It works well if the images are just links. However, for embedded images
> (cid images), none is showing. It seems the images are not exported
> correctly. Is there any way to show these embedded images?

My experience is that `shr' works best as an HTML renderer for notmuch,
but that may depend on which version of emacs (and notmuch) you are
using.

cid images in simple text/html messages work fine for me.

In multipart/alternative messages where text/html is not the default
rendered part (i.e. you have to press a part header to see it) I recall
that there were problems, but I don't use that very much.

Can you share one of the messages in question?

dme.
-- 
I'm in California dreaming about who we used to be.

  reply	other threads:[~2019-02-27  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-26 22:49 How to show embedded images in HTML emails? yangsheng6810
2019-02-27  9:50 ` David Edmondson [this message]
2019-02-27 17:52   ` Sheng Yang

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=m2bm2xk1as.fsf@dme.org \
    --to=dme@dme.org \
    --cc=notmuch@notmuchmail.org \
    --cc=yangsheng6810@gmail.com \
    /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 public inbox

	https://yhetil.org/notmuch.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).