Summary | Display existing alternative rather than removed attachment |
Queue | IMP |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | Otto.Stolz (at) uni-konstanz (dot) de |
Created | 11/15/2006 (6809 days ago) |
Due | |
Updated | 01/12/2010 (5655 days ago) |
Assigned | 11/09/2008 (6084 days ago) |
Resolved | 11/14/2008 (6079 days ago) |
Milestone | |
Patch | No |
Merge from HEAD (
Request #4664).http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&r1=494134b0cb53996bc9815e438ac7bf14bd3fea50&r2=7de276204b5859d9ce8a62dfaee8a5cbe30f069c
http://git.horde.org/diff.php/imp/lib/Message.php?rt=horde-git&r1=717fab3db3df3b8d078ed97d9f12c08f63d089f1&r2=7de276204b5859d9ce8a62dfaee8a5cbe30f069c
State ⇒ Resolved
Milestone ⇒
the stripped part as 'attachment', not 'inline'. Makes more sense in
the general scheme of things also. Fixed in IMP 4.3.1.
http://cvs.horde.org/diff.php/imp/docs/CHANGES?r1=1.699.2.361&r2=1.699.2.362&ty=u
http://cvs.horde.org/diff.php/imp/lib/Message.php?r1=1.164.8.61&r2=1.164.8.62&ty=u
http://cvs.horde.org/diff.php/imp/docs/CHANGES?r1=1.1197&r2=1.1198&ty=u
http://cvs.horde.org/diff.php/imp/lib/Message.php?r1=1.305&r2=1.306&ty=u
Assigned to Michael Slusarz
State ⇒ Assigned
mark this as accepted or reject it permanently?
State ⇒ Stalled
State ⇒ Accepted
adding specific code for a single MIME type in our attachment
stripping code is not a good idea. So this is something for IMP 5.0,
at the earliest.
"attachments". I think, that term is misleading, I should rather have
used the term "alternative parts". I beg your pardon for any confusion
this may have caused.
To prevent possible misunderstandings:
This feature request is addressing the choice amongst alternative
parts of a Content-Type:multipart/alternative structure, from wich
some of the alternative parts have been removed.
I was mislead by the terminology Imp uses in its replacemet line:
"Anhang entfernt" means "attachment removed".
Imp 4.1.2 marks a removed part thusly:
Content-Type: text/plain;
charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
[Anhang entfernt: Ehemaliger Anhangstyp: text/html, Name: unbenannt]
on the user's option settings. Note that this message may well be
forwarded to another user with different settings, or that the user
may change hir settings, after removing that part.
Another mailer (example seen today, but cannot be attributed to a
particular mailer) does it thusly:
with RFC 2045, section 8: this can be set independently of the user's
settings, hence it can easily be detected.
So, my suggestion is:
- when removing an alternate part, set the Content-Description field,
as in the second example, above;
- when deciding which alternate part to display, parts marked in this
way should not be regarded as eligible,
- if possible, parts marked in the way of the 1st example, above,
should also be not eligible for display.
«Systems should choose the "best" type based on the local environment
and references, in some cases even through user interaction.»
So, what I am proposing, is that Imp should choose, in accordance with
RFC 2046, the remaining original alternative, as it is definitely
"better" than the removed one. Or is there some other RFC dealing with
multipart/alternative that contradicts this approach?
Of course, Imp can choose that alternative through user action;
however, a sensible choice without user intervention would be
superior, wouldn't it?
State ⇒ Feedback
RFC on multipart/alternative messages. Michael?
Priority ⇒ 1. Low
State ⇒ New
Queue ⇒ IMP
Summary ⇒ Display existing alternative rather than removed attachment
Type ⇒ Enhancement
a text/plain attachment comprising an informational message about the
original attachment. This comes handy to remove unwanted alternative
attachment formats.
Now, if the remaining alternative happens to come. in the message
source, before the removed one, Imp will display that informational
message, rather than the original message content.
To comply with the user's intent, Imp should recognize this situation
and display the remaining, valid alternative (rather than the
informational message that happens to follow it).