Fix attachment parsing and hasAttachment false positives

FixEmailService
관련 상품
2026년 4월 25일 오전 12:09 UTC
이름 *
Kamo
뚱 베어
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

모든 변경 사항

배송을 보는 것과 같이?

작업 공간의 모든 업데이트 땅은 자동으로. 일주일 후 무료로 시청하십시오.

무료 영원히 시작가격 비교