mail icon indicating copy to clipboard operation
mail copied to clipboard

Inline CID images from IBM Notes/Domino are not rendered

Open PeViz opened this issue 6 months ago • 4 comments

Steps to reproduce

Emails sent from IBM Notes / HCL Domino containing inline CID images are not rendered correctly in Nextcloud Mail.

Instead of displaying the image, the Mail app shows a broken image icon and the literal cid: reference.

The same email displays correctly in:

  • Thunderbird
  • Outlook
  • Apple Mail

Expected behavior

Nextcloud Mail should correctly resolve and render inline CID images from valid MIME emails generated by IBM Notes / HCL Domino.

Actual behavior

The cid: URL is left unresolved and the image is broken.

Image

Mail app version

5.7.15

Nextcloud version

30.0.3.2

Mailserver or service

Dovecot

Operating system

Alma

PHP engine version

None

Nextcloud memory caching

No response

Web server

Apache (supported)

Database

MariaDB

Additional info

MIME structure

The email contains a valid multipart/related MIME structure.

HTML part:

Related MIME attachment:

Content-Type: image/gif Content-ID: <_1_0F31C1240F31BB380021C2B4C1258DF0> Content-Transfer-Encoding: base64

The Content-ID matches the cid: reference correctly.

Observation

It appears that Nextcloud Mail does not correctly rewrite or resolve inline CID image references when the HTML attribute is written without quotes:

src=cid:...

instead of:

src="cid:..."

The email was generated by:

X-Mailer: IBM Notes Release 9.0.1FP4

The issue appears reproducible specifically with MIME generated by IBM Notes / Domino.

Thunderbird-generated inline images work correctly in Nextcloud Mail.

PeViz avatar May 12 '26 06:05 PeViz

Thanks for reporting.

Could you post the redacted eml of such a message here or send one to [email protected]?

kesselb avatar May 12 '26 08:05 kesselb

sent to [email protected]

PeViz avatar May 25 '26 10:05 PeViz

Can confirm i have the same issues with Inline images sent from Zammad to Nextcloud Mail. Images work correctly with other clients.

Irdiism avatar Jun 24 '26 14:06 Irdiism

Thanks a lot!

Fix at https://github.com/nextcloud/mail/pull/13164

kesselb avatar Jun 25 '26 15:06 kesselb