Fix attachment parsing and hasAttachment false positives

FixEmailService
शिप
25 अप्रैल 2026 को 12:09 am बजे UTC
लेखक
Kamo
Commit
f1b46eb

Three fixes to EmailImapService: 1. toEnvelope: narrow multipart check to multipart/mixed only — plain HTML+text emails (multipart/alternative) no longer show a false positive paperclip icon in the message list 2. getMessage: reset hasAttachment after full parse so it accurately reflects whether real attachments were found, overriding the envelope heuristic 3. parseMultipart: use isMimeType("multipart/*") to detect nested multiparts instead of calling getContent() on every part (avoids pulling binary attachment content just for a type check, and prevents exceptions from binary parts from breaking the whole parse); also guard text/plain, text/html, and calendar parts against attachment-disposition so named .html/.txt/.ics files are treated as attachments rather than body content

सभी बदलाव

जैसा कि आप शिपिंग देखते हैं?

इन अद्यतनों में से प्रत्येक स्वचालित रूप से अपने कार्यक्षेत्र में उतरता है। प्रारंभ करें और सप्ताह के बाद इसे सप्ताह के अंत में देखें।.

Foreverमूल्य निर्धारण देखें