mail icon indicating copy to clipboard operation
mail copied to clipboard

Mail is not displayed correctly

Open Speed7811 opened this issue 3 years ago • 4 comments

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

Speed7811 avatar Oct 19 '22 13:10 Speed7811

Could you inspect the URLs of the broken images?

ChristophWurst avatar Oct 19 '22 14:10 ChristophWurst

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...

Speed7811 avatar Oct 19 '22 14:10 Speed7811

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 avatar Oct 19 '22 14:10 ChristophWurst

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%;">

ChristophWurst avatar Aug 20 '24 05:08 ChristophWurst