[dev] Show attachment icon on messages without attachments

Vilius Šumskas vilius at lnk.lt
Mon Apr 12 11:49:20 UTC 2010


> >> I have struggled off and on for awhile with myself whether to
> >> remove this flag entirely.  After thinking about it a bit more, I
> >> am seriously considering removing it.
> >
> > How about another compromise and showing it only for multipart
> > messages that are not multipart/alternative in the base mime part?
> 
> I thought about it, but this is not 100% foolproof either.
> multipart/alternative parts may contain all parts that can't be viewed
> inline, which (from an intuitive standpoint) makes that message
> contain an attachment.

How about taking message size into consideration. Messages with multipart/alternative and > 100kb in size for example could be shown as with attachements.

-- 
  Vilius



More information about the dev mailing list