nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
853 stars 264 forks source link

Mail is not displayed correctly #7457

Open Speed7811 opened 2 years ago

Speed7811 commented 2 years ago

Steps to reproduce

I got a monthly summary Mail by AVM. The mail is displayed correctly in Outlook or Thunderbird but not in the Nextcloud Mail app -> See attachments. If necessary I can provide the mail as eml file - please contact me.

Mail in Nextcloud App

Mail in Outlook

Expected behavior

Mail is displayed correctly

Actual behavior

Mail is not displayed correctly

Mail app version

No response

Mailserver or service

No response

Operating system

No response

PHP engine version

No response

Web server

No response

Database

No response

Additional info

No response

ChristophWurst commented 2 years ago

Could you inspect the URLs of the broken images?

Speed7811 commented 2 years ago

There are no URLs. The images are embedded into that mail. Here is a mail snippet of an embedded image:

<div class=3D"p-l-16" style=3D"padding-left: 16px;"><img src=3D"cid:sfp185"=
 alt=3D"" style=3D"border: none;display: block;width: 76px;">
</div>
------=_Part_2477022_236879436.1666055036487
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-ID: <sfp185>
Content-Disposition: inline

iVBORw0KGgoAAAANSUhEUgAAAE4AAACCCAYAAADogP7SAAALuklEQVR4Xu2cC1TN2R7H3Tt31l3r
3nXvXKYyY15ew3A1g4YZaohJRpExI8WYKD3OoUaiTooRQtxEpVCYKzKVIQyjhDCj0OOcUlJJ9FYe...
ChristophWurst commented 2 years ago

Look at your screenshot. The browser tries to render images that don't load. Inspect the image tag.

src="cid:sfp185"

bingo.

Even if the images are inline, they are loaded from a URL to be rendered in the browser.

ChristophWurst commented 3 months ago

AVM emails are still broken with <img src="cid:myfritz-logo-mail" alt="" style="border: medium; display: block; background-color: transparent; height: 65px; width: 85px; margin-top: 3px; margin-left: 30px; max-width: 100%;">