linagora / tmail-flutter

A multi-platform (Flutter) application for reading your emails, with your favorite devices, using the JMAP protocol!
GNU Affero General Public License v3.0
296 stars 63 forks source link

Too many attachments displayed #2388

Open chibenwa opened 8 months ago

chibenwa commented 8 months ago

oncommit-tmail.linagora.com

image

Should be

image

Note that the signature image is here displayed as an attachment and inlined in the content.

------=_NextPart_001_004E_01DA2860.67B4BB00
Content-Type: image/png;
    name="image001.png"
Content-Transfer-Encoding: base64
Content-ID: <image001.png@01DA285F.638DEA20>

iVBORw0KGgoAAAANSUhEUgAAAH4AAACRCAYAAAAFMQzfAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAO
xAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAEd1SURBVHhe
7V0HYJXV2X6z9yYJCSEJI+y9kSkIqODAhUq1tWqxraOtVqttVbDaWq1arbPWuqrVWhVUFBwgCsje
e2WRBLL3Tv7nOef77spNcm+SG+0vR0PG/cY55x3n3a/v0qVL5cz4/u2A77333tv8XV92s5phs3h5

Content ID is matching, but no Content-Disposition: inline.

If we succeeded to inline the attachment in the display, maybe we should not display it as an attachment?

Mail user agent: X-Mailer: Microsoft Outlook 16.0

dab246 commented 8 months ago

@chibenwa please help us attach eml file

chibenwa commented 8 months ago

fetch.txt