Serve inline image MIME parts and surface Content-ID metadata

FeatureEmailService
Ya
9 Mei 2026, 19:00 UTC
Mwandishi
Kamo
Ahadi ya
255509a

Render <img src="cid:..."> in the messages UI by exposing the inline parts that the HTML body references. - AttachmentInfo gains contentId (without angle brackets) and inline flag. - parseMultipart and getAttachment share a single isAttachmentPart predicate and a recursive walker, so inline parts nested inside multipart/related are captured (and their indices stay aligned across the two methods). Previously the recursion overwrote the parent's attachments list, which also dropped real attachments in nested structures. - hasAttachment is now driven by non-inline parts only — signature logos no longer light up the paperclip on every message. - New endpoint GET **************** on both EmailController and SharedMailboxMailController; resolves cid via the parsed AttachmentInfo, streams the part with Content-Disposition: inline and Cache-Control: private, max-age=3600.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei