<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>attachments are not shown for this message</title> 
  <pubDate>Fri, 10 Apr 2026 18:48:28 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9827</link> 
  <atom:link rel="self" type="application/rss+xml" title="attachments are not shown for this message" href="https://bugs.horde.org/ticket/9827/rss" /> 
  <description>attachments are not shown for this message</description> 
 
   
   
  <item> 
   <title>A client received a message for which IMP doesn&#039;t show attac</title> 
   <description>A client received a message for which IMP doesn&#039;t show attachments at all. Example attached.

Strangely this message cannot be imported through Folder Navigator -&gt; Import messages also. It just shows &quot;Error importing Forward Message.eml&quot;.</description> 
   <pubDate>Wed, 06 Apr 2011 21:15:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63239</link> 
  </item> 
   
  <item> 
   <title>Another sample message. Looks like problematic messages are </title> 
   <description>Another sample message. Looks like problematic messages are sent from Apple OSes.</description> 
   <pubDate>Thu, 07 Apr 2011 10:29:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63244</link> 
  </item> 
   
  <item> 
   <title>&gt; Strangely this message cannot be imported through Folder N</title> 
   <description>&gt; Strangely this message cannot be imported through Folder Navigator -&gt; 
&gt; Import messages also. It just shows &quot;Error importing Forward 
&gt; Message.eml&quot;.

Because folder import only supports importing mbox files.</description> 
   <pubDate>Thu, 07 Apr 2011 16:52:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63262</link> 
  </item> 
   
  <item> 
   <title>&gt; Another sample message. Looks like problematic messages ar</title> 
   <description>&gt; Another sample message. Looks like problematic messages are sent from 
&gt; Apple OSes.

Do you have HTML viewing off?  If so, there aren&#039;t any attachments in this message.

This is a multipart/alternative message that looks like the following:

multipart/alternative
  text/plain
  multipart/mixed
    text/html
    application/msword
    text/html
    application/msword
    text/html

Unless at least 1 of the parts in a multipart/alternative part is viewable, we can&#039;t display that part.  Thus, if text/html is off, we can only display text/plain.  There are no attachments in this message.  Absent bringing back the confusing alternative parts status box, not sure what we can do here.

Related to Ticket #9365 and #7981.  As previously mentioned, and of which I am constantly reminded, Apple Mail continues to make TERRIBLE assumptions about how multipart/alternative works.</description> 
   <pubDate>Thu, 07 Apr 2011 17:04:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63266</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Another sample message. Looks like problematic messages a</title> 
   <description>&gt;&gt; Another sample message. Looks like problematic messages are sent from
&gt;&gt; Apple OSes.
&gt;
&gt; Do you have HTML viewing off?  If so, there aren&#039;t any attachments in 
&gt; this message.

Yes. I&#039;m using the default.

&gt; This is a multipart/alternative message that looks like the following:
&gt;
&gt; multipart/alternative
&gt;   text/plain
&gt;   multipart/mixed
&gt;     text/html
&gt;     application/msword
&gt;     text/html
&gt;     application/msword
&gt;     text/html
&gt;
&gt; Unless at least 1 of the parts in a multipart/alternative part is 
&gt; viewable, we can&#039;t display that part.  Thus, if text/html is off, we 
&gt; can only display text/plain.  There are no attachments in this 
&gt; message.  Absent bringing back the confusing alternative parts status 
&gt; box, not sure what we can do here.
&gt;
&gt; Related to Ticket #9365 and #7981.  As previously mentioned, and of 
&gt; which I am constantly reminded, Apple Mail continues to make TERRIBLE 
&gt; assumptions about how multipart/alternative works.

Understood. However it is really difficult to explain the users, why Gmail, Outlook and even oldy The Bat! display it right. But with IMP they don&#039;t.</description> 
   <pubDate>Thu, 07 Apr 2011 17:09:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63268</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Strangely this message cannot be imported through Folder </title> 
   <description>&gt;&gt; Strangely this message cannot be imported through Folder Navigator -&gt;
&gt;&gt; Import messages also. It just shows &quot;Error importing Forward
&gt;&gt; Message.eml&quot;.
&gt;
&gt; Because folder import only supports importing mbox files.

I&#039;ve always thought that .eml files ARE mboxes just with one message in it?</description> 
   <pubDate>Thu, 07 Apr 2011 17:12:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63269</link> 
  </item> 
   
  <item> 
   <title>&gt; Understood. However it is really difficult to explain the </title> 
   <description>&gt; Understood. However it is really difficult to explain the users, why 
&gt; Gmail, Outlook and even oldy The Bat! display it right. But with IMP 
&gt; they don&#039;t.

But I don&#039;t understand how they could display these as attachments?  If they do they are going entirely against the wishes of the original sender.

What I really think is happening here (and not to be braggy), but IMP is just much more intelligent about determining what to display as attachments.  I can almost guarantee you that these other MUA&#039;s are simply obtaining a list of MIME part types of the message, looping through the list, and marking as attachments anything that &quot;looks&quot; like an attachment.  But this approach completely ignores the container those parts are located in, which is simply broken behavior (or at the least, lazy coding).

If I send a message to you that says that you shouldn&#039;t see any attachments if you can only view the text/plain part, then that&#039;s the way I want the message to be viewed by you.  Or else, what&#039;s the point of any of these MIME types?</description> 
   <pubDate>Thu, 07 Apr 2011 17:21:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63275</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Understood. However it is really difficult to explain the</title> 
   <description>&gt;&gt; Understood. However it is really difficult to explain the users, why
&gt;&gt; Gmail, Outlook and even oldy The Bat! display it right. But with IMP
&gt;&gt; they don&#039;t.
&gt;
&gt; But I don&#039;t understand how they could display these as attachments?  
&gt; If they do they are going entirely against the wishes of the original 
&gt; sender.
&gt;
&gt; What I really think is happening here (and not to be braggy), but IMP 
&gt; is just much more intelligent about determining what to display as 
&gt; attachments.  I can almost guarantee you that these other MUA&#039;s are 
&gt; simply obtaining a list of MIME part types of the message, looping 
&gt; through the list, and marking as attachments anything that &quot;looks&quot; 
&gt; like an attachment.  But this approach completely ignores the 
&gt; container those parts are located in, which is simply broken behavior 
&gt; (or at the least, lazy coding).
&gt;
&gt; If I send a message to you that says that you shouldn&#039;t see any 
&gt; attachments if you can only view the text/plain part, then that&#039;s the 
&gt; way I want the message to be viewed by you.  Or else, what&#039;s the 
&gt; point of any of these MIME types?

I really understand what you say and I support every point made. I always teach people and encaurage to NOT use Apple products for the same reason. They are indeed very buggy under the hood. But also I always say that standards and technology should serve people, not the other way around. So just hoped that it is possible to make an exception for Apple messages and to display them differently.</description> 
   <pubDate>Thu, 07 Apr 2011 17:52:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63283</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Strangely this message cannot be imported through Folder</title> 
   <description>&gt;&gt;&gt; Strangely this message cannot be imported through Folder Navigator -&gt;
&gt;&gt;&gt; Import messages also. It just shows &quot;Error importing Forward
&gt;&gt;&gt; Message.eml&quot;.
&gt;&gt;
&gt;&gt; Because folder import only supports importing mbox files.
&gt;
&gt; I&#039;ve always thought that .eml files ARE mboxes just with one message in it?

They are, and I import them all the time using IMP since years :)</description> 
   <pubDate>Thu, 07 Apr 2011 20:50:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63295</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I&#039;ve always thought that .eml files ARE mboxes just with </title> 
   <description>&gt;&gt; I&#039;ve always thought that .eml files ARE mboxes just with one message in it?
&gt;
&gt; They are, and I import them all the time using IMP since years :)

But actually they&#039;re not.  mbox files require a &#039;From [...]&#039; header before each message.  And mbox files require special quoting for lines beginning with &#039;From&#039; in the body of the message.  Neither of these occurs in message source data.

So if it was working previously, it was a bug in IMP.</description> 
   <pubDate>Thu, 07 Apr 2011 20:59:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63296</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; I&#039;ve always thought that .eml files ARE mboxes just with</title> 
   <description>&gt;&gt;&gt; I&#039;ve always thought that .eml files ARE mboxes just with one message in it?
&gt;&gt;
&gt;&gt; They are, and I import them all the time using IMP since years :)
&gt;
&gt; But actually they&#039;re not.  mbox files require a &#039;From [...]&#039; header 
&gt; before each message.  And mbox files require special quoting for 
&gt; lines beginning with &#039;From&#039; in the body of the message.  Neither of 
&gt; these occurs in message source data.

For reference:
http://tools.ietf.org/html/rfc4155
</description> 
   <pubDate>Thu, 07 Apr 2011 21:11:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63299</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; I&#039;ve always thought that .eml files ARE mboxes just with</title> 
   <description>&gt;&gt;&gt; I&#039;ve always thought that .eml files ARE mboxes just with one message in it?
&gt;&gt;
&gt;&gt; They are, and I import them all the time using IMP since years :)
&gt;
&gt; But actually they&#039;re not.  mbox files require a &#039;From [...]&#039; header 
&gt; before each message.  And mbox files require special quoting for 
&gt; lines beginning with &#039;From&#039; in the body of the message.  Neither of 
&gt; these occurs in message source data.
&gt;
&gt; So if it was working previously, it was a bug in IMP.

Then at least IMP&#039;s Save As functionality need to be adjusted to send .mbox extension instead of .eml. Or better yet, allow importing .eml also.

Anyway I&#039;ve found a way to get attachments from these messages. There is a link &quot;Attached Files&quot; in the action bar. I can get all needed attachments (and more) with &quot;Download All Attached Files&quot;, but &quot;Show All Message Parts&quot; still doesn&#039;t who anything new. Is this right?</description> 
   <pubDate>Thu, 07 Apr 2011 21:25:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63300</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Request #982</title> 
   <description>Changes have been made in Git for this ticket:

Request #9827: Allow .eml files to be imported into a mailbox

 6 files changed, 23 insertions(+), 8 deletions(-)
http://git.horde.org/horde-git/-/commit/2d50ea21baeedf10844df68825676081a170c54d</description> 
   <pubDate>Thu, 07 Apr 2011 22:00:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63301</link> 
  </item> 
   
  <item> 
   <title>&gt; So if it was working previously, it was a bug in IMP.

T</title> 
   <description>&gt; So if it was working previously, it was a bug in IMP.

This feature has been properly added to IMP 5.0.1.</description> 
   <pubDate>Thu, 07 Apr 2011 22:00:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63302</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9827: F</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9827: Fix displaying all message parts in standard view

 3 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/a246c24cd1d242d0a078b78e8646d9d8b41d327a</description> 
   <pubDate>Thu, 07 Apr 2011 22:10:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63303</link> 
  </item> 
   
  <item> 
   <title>&gt; Anyway I&#039;ve found a way to get attachments from these mess</title> 
   <description>&gt; Anyway I&#039;ve found a way to get attachments from these messages. There 
&gt; is a link &quot;Attached Files&quot; in the action bar. I can get all needed 
&gt; attachments (and more) with &quot;Download All Attached Files&quot;, but &quot;Show 
&gt; All Message Parts&quot; still doesn&#039;t who anything new. Is this right?

This has been fixed.</description> 
   <pubDate>Thu, 07 Apr 2011 22:10:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63304</link> 
  </item> 
   
  <item> 
   <title>Thank you.</title> 
   <description>Thank you.</description> 
   <pubDate>Thu, 07 Apr 2011 22:25:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63305</link> 
  </item> 
   
  <item> 
   <title>&gt; But I don&#039;t understand how they could display these as att</title> 
   <description>&gt; But I don&#039;t understand how they could display these as attachments?  
&gt; If they do they are going entirely against the wishes of the original 
&gt; sender.

I disagree - they&#039;re going against the expressed intent of the sender&#039;s client, which may or may not be what the person sending the mail intended.

&gt; If I send a message to you that says that you shouldn&#039;t see any 
&gt; attachments if you can only view the text/plain part, then that&#039;s the 
&gt; way I want the message to be viewed by you.

I feel like we&#039;re not serving our user well in that case though, since a) that view of how the message should be viewed could have been constructed by a buggy MUA, and b) even if it was the express intent of the sender, it could be really frustrating to the receiver, and the receiver is our user and who we should be serving imo.

I feel like this whole area is a case of &quot;be strict in what you omit and liberal in what you accept&quot;.

&gt; Or else, what&#039;s the point of any of these MIME types?

I imagine an email spec written today would be greatly simplified. So ... possibly in real world usage, some of them don&#039;t have a point.</description> 
   <pubDate>Mon, 11 Apr 2011 04:37:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63439</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; But I don&#039;t understand how they could display these as at</title> 
   <description>&gt;&gt; But I don&#039;t understand how they could display these as attachments?
&gt;&gt; If they do they are going entirely against the wishes of the original
&gt;&gt; sender.
&gt;
&gt; I disagree - they&#039;re going against the expressed intent of the 
&gt; sender&#039;s client, which may or may not be what the person sending the 
&gt; mail intended.

I totally disagree with this statement.  A sender is given a set of rules on how to send a message.  We use those rules to interpret their intent.  What you are saying is that somehow we need to determine that their intent is completely opposite of what they actually sent.  Or, more succinctly, we simply need to ignore *all* message structure and display however we feel like.

&gt;&gt; If I send a message to you that says that you shouldn&#039;t see any
&gt;&gt; attachments if you can only view the text/plain part, then that&#039;s the
&gt;&gt; way I want the message to be viewed by you.
&gt;
&gt; I feel like we&#039;re not serving our user well in that case though, 
&gt; since a) that view of how the message should be viewed could have 
&gt; been constructed by a buggy MUA, and b) even if it was the express 
&gt; intent of the sender, it could be really frustrating to the receiver, 
&gt; and the receiver is our user and who we should be serving imo.
&gt;
&gt; I feel like this whole area is a case of &quot;be strict in what you omit 
&gt; and liberal in what you accept&quot;.

But we simply CAN&#039;T be doing this with these messages.  This defeats the ENTIRE purpose of multipart/alternative.  We might as well show all the alternative parts to the user every time by this reasoning.  Which is essentially what you are asking us to do.

&gt;&gt; Or else, what&#039;s the point of any of these MIME types?
&gt;
&gt; I imagine an email spec written today would be greatly simplified. So 
&gt; ... possibly in real world usage, some of them don&#039;t have a point.

That may be true, but multipart/alternative is not one of these types that doesn&#039;t have a point.  Instead, it has a clear purpose that is very useful: to provide a single representation of a message part without the user even being aware that other representations exist.</description> 
   <pubDate>Mon, 11 Apr 2011 05:00:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63446</link> 
  </item> 
   
  <item> 
   <title>Here&#039;s another way of putting it: I think the vast majority </title> 
   <description>Here&#039;s another way of putting it: I think the vast majority of multipart/alternative usage that isn&#039;t text/plain vs. text/html is broken. So yes, with multipart/alternative messages, I think we should show the richer of html or text, depending on whether both are available in the message and how IMP is configured, and then make everything else available as an attachment.

Otherwise, IMP users are going to continue to get messages from broken MUAs and consider IMP to be buggy because they can&#039;t get to the attachment. It won&#039;t matter if we&#039;re right.</description> 
   <pubDate>Mon, 11 Apr 2011 05:06:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63449</link> 
  </item> 
   
  <item> 
   <title>A valid workaround already exists to see these parts in stan</title> 
   <description>A valid workaround already exists to see these parts in standard view - by clicking on view all message parts.  If this feature was added to the dynamic view also, would this be sufficient?

As I think I mentioned in this ticket, another option would be to inform the user that alternate views exist and give them the opportunity to view them.  But we used to have this in IMP 4 (or 3?) and all it did was confuse users so it was removed.  So that does not seem like a viable option.</description> 
   <pubDate>Mon, 11 Apr 2011 05:09:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63450</link> 
  </item> 
   
  <item> 
   <title>&gt; Here&#039;s another way of putting it: I think the vast majorit</title> 
   <description>&gt; Here&#039;s another way of putting it: I think the vast majority of 
&gt; multipart/alternative usage that isn&#039;t text/plain vs. text/html is 
&gt; broken. So yes, with multipart/alternative messages, I think we 
&gt; should show the richer of html or text, depending on whether both are 
&gt; available in the message and how IMP is configured, and then make 
&gt; everything else available as an attachment.

This was not right in IMP4 also. In this case most messages has been marked as with attachments, and when user opened those attachments, they saw alternative or empty parts.

I&#039;m more in favor of making an exception for *major* buggy clients only. Like Apple&#039;s.

&gt; Otherwise, IMP users are going to continue to get messages from 
&gt; broken MUAs and consider IMP to be buggy because they can&#039;t get to 
&gt; the attachment. It won&#039;t matter if we&#039;re right.

True.</description> 
   <pubDate>Mon, 11 Apr 2011 06:21:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63453</link> 
  </item> 
   
  <item> 
   <title>&gt; A valid workaround already exists to see these parts in st</title> 
   <description>&gt; A valid workaround already exists to see these parts in standard view 
&gt; - by clicking on view all message parts.  If this feature was added 
&gt; to the dynamic view also, would this be sufficient?

As told earlier, interpreting particular MUA messages differently would be better, but at least for my users &quot;View All Message Parts&quot; method is enough too.</description> 
   <pubDate>Mon, 11 Apr 2011 06:23:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63455</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; A valid workaround already exists to see these parts in s</title> 
   <description>&gt;&gt; A valid workaround already exists to see these parts in standard view
&gt;&gt; - by clicking on view all message parts.  If this feature was added
&gt;&gt; to the dynamic view also, would this be sufficient?
&gt;
&gt; As told earlier, interpreting particular MUA messages differently 
&gt; would be better, but at least for my users &quot;View All Message Parts&quot; 
&gt; method is enough too.

To me, &quot;view all message parts&quot; is a good workaround for power users or really broken messages. But I&#039;m guessing that most end users won&#039;t find it (or know when to use it) without specific help, so I&#039;d prefer another solution. I&#039;m okay if we want to treat messages from a specific MUA differently, though it doesn&#039;t feel *quite* right to me.

I&#039;m still wondering how many real-world use cases there are for multipart/alternative parts that aren&#039;t text/plain or text/html? The one that&#039;s been mentioned is calendar invites and that seems like one we should special-case even if the invite *isn&#039;t* an alternative part (i.e., text message with calendar attachment - we should show the calendar response UI - along with any text - anyway). Beyond that I don&#039;t know of any - just cases where a buggy MUA sends an excel spreadsheet as one of the multipart/alternative parts, despite clear user intent for the spreadsheet to be an attachment.</description> 
   <pubDate>Wed, 13 Apr 2011 03:36:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63587</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; A valid workaround already exists to see these parts in </title> 
   <description>&gt;&gt;&gt; A valid workaround already exists to see these parts in standard view
&gt;&gt;&gt; - by clicking on view all message parts.  If this feature was added
&gt;&gt;&gt; to the dynamic view also, would this be sufficient?
&gt;&gt;
&gt;&gt; As told earlier, interpreting particular MUA messages differently
&gt;&gt; would be better, but at least for my users &quot;View All Message Parts&quot;
&gt;&gt; method is enough too.
&gt;
&gt; To me, &quot;view all message parts&quot; is a good workaround for power users 
&gt; or really broken messages. But I&#039;m guessing that most end users won&#039;t 
&gt; find it (or know when to use it) without specific help, so I&#039;d prefer 
&gt; another solution. I&#039;m okay if we want to treat messages from a 
&gt; specific MUA differently, though it doesn&#039;t feel *quite* right to me.
&gt;
&gt; I&#039;m still wondering how many real-world use cases there are for 
&gt; multipart/alternative parts that aren&#039;t text/plain or text/html? The 
&gt; one that&#039;s been mentioned is calendar invites and that seems like one 
&gt; we should special-case even if the invite *isn&#039;t* an alternative part 
&gt; (i.e., text message with calendar attachment - we should show the 
&gt; calendar response UI - along with any text - anyway). Beyond that I 
&gt; don&#039;t know of any - just cases where a buggy MUA sends an excel 
&gt; spreadsheet as one of the multipart/alternative parts, despite clear 
&gt; user intent for the spreadsheet to be an attachment.

Here&#039;s just one example I can come up with of why we can&#039;t treat anything inside of a non-viewable alternative part as an attachment.

multipart/alternative
  text/plain
  multipart/related
    text/html
    image/png (content-disposition: attachment; image is used for HTML formatting)
    image/png (same)
    image/png (same)
    image/png (same)
    image/png (same)

This is a not uncommon message structure.  If text/html is disabled, the image/png&#039;s should definitely NOT be shown as attachments.  (This examples show that content-disposition is worthless for determining what parts are attachments).</description> 
   <pubDate>Mon, 18 Apr 2011 22:53:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63871</link> 
  </item> 
   
  <item> 
   <title>In that example, I agree that it&#039;s not great to show the use</title> 
   <description>In that example, I agree that it&#039;s not great to show the user those images as attachments, but what&#039;s the actual harm or user frustration caused by it, as opposed to not being able to find a file that an email claims is attached?</description> 
   <pubDate>Tue, 19 Apr 2011 05:34:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t63884</link> 
  </item> 
   
  <item> 
   <title>&gt; In that example, I agree that it&#039;s not great to show the u</title> 
   <description>&gt; In that example, I agree that it&#039;s not great to show the user those 
&gt; images as attachments, but what&#039;s the actual harm or user frustration 
&gt; caused by it, as opposed to not being able to find a file that an 
&gt; email claims is attached?

Because I end up viewing a message that has 10 formatting images in the unviewable part and that message now shows 10 attachments.  So as a user, if I see a message with 10 attachments, there is going to be some sort of (substantial) time penalty to go through and determine whether those attachments are legitimate or not.  This is unacceptable especially since, as mentioned previously, this example represents 99% of the messages received vs. the broken message that is the subject of this ticket which 1 broken e-mail client is sending.

The default behavior must remain the way it is.  I am all for finding a way to workaround this behavior without destroying the user experience in the vast majority of messages received.

Displaying all message parts needs to be implemented for dimp, notwithstanding anything in this ticket.  So that solves the problem partially since the attachment will be accessible.  However, it does not indicate that there may be an attachment.

As much as it pains me to say it... I am thinking that we ARE going to need to do MUA-sniffing to fix this.  I am thinking that this sniffing can be accomplished in a status box rather than automatically adding the attachments to the list.  E.g. for messages received from Apple Mail, if an attachment is found within an unviewable alternative part, a yellow box will be displayed indicating that an attachment might be in another part and that the user should view all message parts to verify.  This prevents the situation above from happening (unwanted attachments polluting the attachment list) while providing some indication to the user that an attachment *may* be available, and the user can factor the context of the displayed part into their decision as to whether to view all message parts.</description> 
   <pubDate>Thu, 21 Apr 2011 18:56:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64040</link> 
  </item> 
   
  <item> 
   <title>&gt; As much as it pains me to say it... I am thinking that we </title> 
   <description>&gt; As much as it pains me to say it... I am thinking that we ARE going 
&gt; to need to do MUA-sniffing to fix this.  I am thinking that this 
&gt; sniffing can be accomplished in a status box rather than 
&gt; automatically adding the attachments to the list.  E.g. for messages 
&gt; received from Apple Mail, if an attachment is found within an 
&gt; unviewable alternative part, a yellow box will be displayed 
&gt; indicating that an attachment might be in another part and that the 
&gt; user should view all message parts to verify.  This prevents the 
&gt; situation above from happening (unwanted attachments polluting the 
&gt; attachment list) while providing some indication to the user that an 
&gt; attachment *may* be available, and the user can factor the context of 
&gt; the displayed part into their decision as to whether to view all 
&gt; message parts.

That sounds very right for me.</description> 
   <pubDate>Thu, 21 Apr 2011 19:40:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64048</link> 
  </item> 
   
  <item> 
   <title>Any chance this gets solved soon? I&#039;ve switched some users t</title> 
   <description>Any chance this gets solved soon? I&#039;ve switched some users to dynamic interface and they cannot access attachments for these kind of messages at all.</description> 
   <pubDate>Mon, 02 May 2011 16:58:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64349</link> 
  </item> 
   
  <item> 
   <title>&gt; Any chance this gets solved soon? I&#039;ve switched some users</title> 
   <description>&gt; Any chance this gets solved soon? I&#039;ve switched some users to dynamic 
&gt; interface and they cannot access attachments for these kind of 
&gt; messages at all.

Not a high priority for me at the moment, since I have *never* received a message like this in 16 years.</description> 
   <pubDate>Mon, 02 May 2011 17:15:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64351</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Any chance this gets solved soon? I&#039;ve switched some user</title> 
   <description>&gt;&gt; Any chance this gets solved soon? I&#039;ve switched some users to dynamic
&gt;&gt; interface and they cannot access attachments for these kind of
&gt;&gt; messages at all.
&gt;
&gt; Not a high priority for me at the moment, since I have *never* 
&gt; received a message like this in 16 years.

This refers to the MUA-sniffing workaround.  Adding the show all attachments ability to the dynamic view is higher on my priority list, since it is more generally useful.</description> 
   <pubDate>Mon, 02 May 2011 17:19:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64353</link> 
  </item> 
   
  <item> 
   <title>&gt; Not a high priority for me at the moment, since I have *ne</title> 
   <description>&gt; Not a high priority for me at the moment, since I have *never* 
&gt; received a message like this in 16 years.

You are definitely not living in Portugal :P Just two examples:

- Train tickets sent by www.cp.pt (Trains of Portugal) match this kind of messages. How you can imagine its a big frustration paying a train ticket and not being able to print it (pdf)...
- Social Services from Portugal send this badly formatted messages too.</description> 
   <pubDate>Wed, 11 May 2011 14:01:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64587</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Not a high priority for me at the moment, since I have *n</title> 
   <description>&gt;&gt; Not a high priority for me at the moment, since I have *never*
&gt;&gt; received a message like this in 16 years.
&gt;
&gt; You are definitely not living in Portugal :P Just two examples:
&gt;
&gt; - Train tickets sent by www.cp.pt (Trains of Portugal) match this 
&gt; kind of messages. How you can imagine its a big frustration paying a 
&gt; train ticket and not being able to print it (pdf)...
&gt; - Social Services from Portugal send this badly formatted messages too.

Then this pretty much means that MUA sniffing is out of the question.</description> 
   <pubDate>Fri, 13 May 2011 07:18:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64628</link> 
  </item> 
   
  <item> 
   <title>Any suggestions on how to do the UI in the dynamic view?  Th</title> 
   <description>Any suggestions on how to do the UI in the dynamic view?  This can&#039;t be a simple [+] expand graphic, since that is confusing with the current list of *actual* attachments and defeats the whole purpose of trying to detect what the actual attachments are.</description> 
   <pubDate>Fri, 13 May 2011 07:19:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64629</link> 
  </item> 
   
  <item> 
   <title>Something like this?</title> 
   <description>Something like this?</description> 
   <pubDate>Fri, 13 May 2011 07:54:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64632</link> 
  </item> 
   
  <item> 
   <title>Uhm, I just realized that &quot;1 attachment&quot; string won&#039;t be sho</title> 
   <description>Uhm, I just realized that &quot;1 attachment&quot; string won&#039;t be shown for these messages at all.</description> 
   <pubDate>Fri, 13 May 2011 07:56:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64633</link> 
  </item> 
   
  <item> 
   <title>&gt; Uhm, I just realized that &quot;1 attachment&quot; string won&#039;t be s</title> 
   <description>&gt; Uhm, I just realized that &quot;1 attachment&quot; string won&#039;t be shown for 
&gt; these messages at all.

I know that this is not the desired approach but the attached patch is working pretty well for us.

We are showing all downloadable parts inside a multipart/related that are not referenced in another part as attachments.

The code is not perfect but this is only a temporary fix.

PS: Please ignore all bugs and Portugalmail references in this patch :P</description> 
   <pubDate>Fri, 13 May 2011 08:57:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64634</link> 
  </item> 
   
  <item> 
   <title>Now with attachment...</title> 
   <description>Now with attachment...</description> 
   <pubDate>Fri, 13 May 2011 08:58:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64635</link> 
  </item> 
   
  <item> 
   <title>&gt; We are showing all downloadable parts inside a multipart/r</title> 
   <description>&gt; We are showing all downloadable parts inside a multipart/related that 
&gt; are not referenced in another part as attachments.

This solution doesn&#039;t really deal with this problem.  It is multipart/related specific.  It would not fix, for example, this issue:

multipart/alternative
  text/plain
  multipart/mixed
    text/html (not viewable inline)
    image/png

The image/png would not be available with your solution, and would not be shown in the multipart/alternative display.

An adaption of this solution may be useful, however, within multipart/related to catch those attachments that are not properly referred to in the base part.</description> 
   <pubDate>Fri, 13 May 2011 17:17:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64645</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Workaround b</title> 
   <description>Changes have been made in Git for this ticket:

Workaround broken messages by allow viewing multipart/related parts that are not referenced in the base part (Request #9827).
The formatting of the status message could use some tweaking, but it
works.

 4 files changed, 39 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/33aeef48376c186697ca02d8362219cdd7881b37</description> 
   <pubDate>Fri, 13 May 2011 18:40:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64647</link> 
  </item> 
   
  <item> 
   <title>&gt; Changes have been made in Git for this ticket:
&gt;
&gt; Worka</title> 
   <description>&gt; Changes have been made in Git for this ticket:
&gt;
&gt; Workaround broken messages by allow viewing multipart/related parts 
&gt; that are not referenced in the base part (Request #9827).
&gt; The formatting of the status message could use some tweaking, but it
&gt; works.
&gt;
&gt;  4 files changed, 39 insertions(+), 1 deletions(-)
&gt; http://git.horde.org/horde-git/-/commit/33aeef48376c186697ca02d8362219cdd7881b37

This patch doesn&#039;t fix our problem with multipart/related messages. An example message is attached.


</description> 
   <pubDate>Mon, 16 May 2011 11:07:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64679</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Changes have been made in Git for this ticket:
&gt;&gt;
&gt;&gt; Wo</title> 
   <description>&gt;&gt; Changes have been made in Git for this ticket:
&gt;&gt;
&gt;&gt; Workaround broken messages by allow viewing multipart/related parts
&gt;&gt; that are not referenced in the base part (Request #9827).
&gt;&gt; The formatting of the status message could use some tweaking, but it
&gt;&gt; works.
&gt;&gt;
&gt;&gt;  4 files changed, 39 insertions(+), 1 deletions(-)
&gt;&gt; http://git.horde.org/horde-git/-/commit/33aeef48376c186697ca02d8362219cdd7881b37
&gt;
&gt; This patch doesn&#039;t fix our problem with multipart/related messages. 
&gt; An example message is attached.

It wasn&#039;t intended to fix this issue.  It was intended (and does) fix this issue: A multipart/related message such as the following:

multipart/related:
  text/html
  index/png (not referenced in the text/html part).

Will allow index/png to be viewed.

This patch has nothing to do with the problem discussed elsewhere in the ticket.  As mentioned multiple times previously, you simply cannot treat non-viewable parts inside of a multipart/alternative as an attachment.  So that is what is needed to be worked around.</description> 
   <pubDate>Mon, 16 May 2011 16:22:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t64689</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Changes have been made in Git for this ticket:
&gt;&gt;
&gt;&gt; Wo</title> 
   <description>&gt;&gt; Changes have been made in Git for this ticket:
&gt;&gt;
&gt;&gt; Workaround broken messages by allow viewing multipart/related parts
&gt;&gt; that are not referenced in the base part (Request #9827).
&gt;&gt; The formatting of the status message could use some tweaking, but it
&gt;&gt; works.
&gt;&gt;
&gt;&gt;  4 files changed, 39 insertions(+), 1 deletions(-)
&gt;&gt; http://git.horde.org/horde-git/-/commit/33aeef48376c186697ca02d8362219cdd7881b37
&gt;
&gt; This patch doesn&#039;t fix our problem with multipart/related messages. 
&gt; An example message is attached.
&gt;
&gt;
&gt;
I am also looking for a solution to same problem. Our salary processing partner sends inline HTML using multipart/related messages. Due to confidentiality issues, I could not attach the message. </description> 
   <pubDate>Fri, 24 Jun 2011 11:24:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t65818</link> 
  </item> 
   
  <item> 
   <title>using git and courier-imap 4.9.3

I think the issue we&#039;re </title> 
   <description>using git and courier-imap 4.9.3

I think the issue we&#039;re having is related to this ticket.

the attached message contains 2 attachments (png, pdf). IMP doesn&#039;t provide a link to download the pdf file.

imaplog : 
S: 4 OK [READ-WRITE] Ok
C: 5 UID FETCH 1723 (BODY[HEADER])
S: * 1 FETCH (UID 1723 BODY[HEADER] {1814}
S: [LITERAL DATA - 1814 bytes]
S: )
S: 5 OK FETCH completed.
&gt;&gt;&gt; CACHE: Stored messages (mailbox: INBOX; UIDs: 1723)
&gt;&gt;&gt; CACHE: Retrieved messages (mailbox: INBOX; UIDs: 1723)
C: 6 UID FETCH 1723 (BODYSTRUCTURE)
S: * 1 FETCH (UID 1723 BODYSTRUCTURE ((&quot;text&quot; &quot;html&quot; (&quot;charset&quot; &quot;utf-8&quot;) NIL NIL &quot;8bit&quot; 156 7 NIL NIL NIL)(&quot;image&quot; &quot;png&quot; (&quot;charset&quot; &quot;utf-8&quot; &quot;name&quot; &quot;logo001.png&quot;) &quot;&lt;logo001.png@e3132cc6aa18c08f87b3375c69db99e5&gt;&quot; NIL &quot;base64&quot; 92 NIL (&quot;attachment&quot; (&quot;filename&quot; &quot;logo001.png&quot;)) NIL)(&quot;application&quot; &quot;pdf&quot; (&quot;charset&quot; &quot;utf-8&quot; &quot;name&quot; &quot;2111100221.pdf&quot;) NIL NIL &quot;base64&quot; 112 NIL (&quot;attachment&quot; (&quot;filename&quot; &quot;2111100221.pdf&quot;)) NIL) &quot;related&quot; (&quot;charset&quot; &quot;utf-8&quot; &quot;boundary&quot; &quot;ba8632ed0d4705f58db3b6b58bc6daba8&quot;) NIL NIL))
S: 6 OK FETCH completed.
&gt;&gt;&gt; CACHE: Stored messages (mailbox: INBOX; UIDs: 1723)
C: 7 UID FETCH 1723 (BODY.PEEK[1])
S: * 1 FETCH (UID 1723 BODY[1] {156}
S: [LITERAL DATA - 156 bytes]
S: )
S: 7 OK FETCH completed.
C: 8 UID FETCH 1723 (BODY.PEEK[HEADER])
S: * 1 FETCH (UID 1723 BODY[HEADER] {1814}
S: [LITERAL DATA - 1814 bytes]
S: )
S: 8 OK FETCH completed.
</description> 
   <pubDate>Thu, 27 Oct 2011 10:25:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t68389</link> 
  </item> 
   
  <item> 
   <title>&gt; using git and courier-imap 4.9.3
&gt;
&gt; I think the issue w</title> 
   <description>&gt; using git and courier-imap 4.9.3
&gt;
&gt; I think the issue we&#039;re having is related to this ticket.
&gt;
&gt; the attached message contains 2 attachments (png, pdf). IMP doesn&#039;t 
&gt; provide a link to download the pdf file.

Actually, it isn&#039;t related to the primary focus of this ticket (displaying attachments contained in the non-viewed alternative part).  This instead relates to the fix mentioned below for broken multipart/related messages.  The fix on place theoretically *should* show the attachment... except this message example is twice as broken as normal because the PDF part does not even contain a content-ID.

This should be fixed now.</description> 
   <pubDate>Sat, 29 Oct 2011 07:34:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t68421</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9827: B</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9827: Better determination of whether related part was referenced in the root part

 2 files changed, 12 insertions(+), 8 deletions(-)
http://git.horde.org/horde-git/-/commit/52ed28d4b5c2030725a40a500cfcf7fad4115815</description> 
   <pubDate>Sat, 29 Oct 2011 07:34:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t68422</link> 
  </item> 
   
  <item> 
   <title>&gt; Changes have been made in Git for this ticket:
&gt;
&gt; Bug #</title> 
   <description>&gt; Changes have been made in Git for this ticket:
&gt;
&gt; Bug #9827: Better determination of whether related part was 
&gt; referenced in the root part
&gt;
&gt;  2 files changed, 12 insertions(+), 8 deletions(-)
&gt; http://git.horde.org/horde-git/-/commit/52ed28d4b5c2030725a40a500cfcf7fad4115815

I can see and download the pdf attachment now. 
Thanks.</description> 
   <pubDate>Wed, 02 Nov 2011 09:07:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t68522</link> 
  </item> 
   
  <item> 
   <title>Allowing viewing of all message parts has been added to the </title> 
   <description>Allowing viewing of all message parts has been added to the dynamic view for IMP 5.1:

http://git.horde.org/horde-git/-/commit/dbc6169ae27f7c02a50c3abec17b77f9498f8586</description> 
   <pubDate>Sat, 19 Nov 2011 22:38:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t68962</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit dbc6169ae27f</title> 
   <description>Changes have been made in Git (master):

commit dbc6169ae27f7c02a50c3abec17b77f9498f8586
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Sat Nov 19 01:41:34 2011 -0700

    [mms] Add ability to view all message parts in dynamic view (Request #9827).

 imp/docs/CHANGES                             |    1 +
 imp/js/dimpbase.js                           |   25 +++++++++++++++-
 imp/js/message-dimp.js                       |   15 ++++++++++
 imp/lib/Ajax/Application.php                 |   38 ++++++++++++++++++++++++++
 imp/lib/Contents.php                         |    4 ++-
 imp/lib/Views/ShowMessage.php                |    4 +++
 imp/message-dimp.php                         |    6 ++++
 imp/package.xml                              |    1 +
 imp/templates/dimp/index.inc                 |    5 +--
 imp/templates/dimp/javascript_defs.php       |    1 +
 imp/templates/dimp/message/message.html      |   16 ++++++-----
 imp/themes/default/dimp/screen.css           |    3 ++
 imp/themes/default/graphics/email_attach.png |  Bin 0 -&gt; 744 bytes
 imp/themes/silver/dimp/screen.css            |    3 ++
 imp/themes/silver/graphics/email_attach.png  |  Bin 0 -&gt; 744 bytes
 15 files changed, 109 insertions(+), 13 deletions(-)

http://git.horde.org/horde-git/-/commit/dbc6169ae27f7c02a50c3abec17b77f9498f8586</description> 
   <pubDate>Wed, 29 Aug 2012 12:25:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t72445</link> 
  </item> 
   
  <item> 
   <title>&gt; Changes have been made in Git (master):
[...]
&gt; http://g</title> 
   <description>&gt; Changes have been made in Git (master):
[...]
&gt; http://git.horde.org/horde-git/-/commit/dbc6169ae27f7c02a50c3abec17b77f9498f8586

i see that this affects imp5.1.
however current stable imp is 5.0.23

will this changeset propagate into a released version of imp (either bugfix:5.0.24, or release:5.1) and if so, could you estimate when?

btw, horde/imp are great</description> 
   <pubDate>Wed, 05 Sep 2012 18:12:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t72786</link> 
  </item> 
   
  <item> 
   <title>There won&#039;t be a 5.1 release, it&#039;s part of the 6.0 code base</title> 
   <description>There won&#039;t be a 5.1 release, it&#039;s part of the 6.0 code base though.</description> 
   <pubDate>Wed, 05 Sep 2012 18:46:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t72788</link> 
  </item> 
   
  <item> 
   <title>&gt; There won&#039;t be a 5.1 release, it&#039;s part of the 6.0 code ba</title> 
   <description>&gt; There won&#039;t be a 5.1 release, it&#039;s part of the 6.0 code base though.

i see.
but 6.0 is horde5, correct?
so there won&#039;t be a &quot;bugfix&quot; [*] for horde4?

fmasdr
IOhannes

[*] my users are also affected by receiving broken AppleMail attachments. unfortunately more and more people out there in the wild are franzied by iStuff, so my users need a possibility to handle such broken attachments.</description> 
   <pubDate>Thu, 06 Sep 2012 09:13:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t72814</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; There won&#039;t be a 5.1 release, it&#039;s part of the 6.0 code b</title> 
   <description>&gt;&gt; There won&#039;t be a 5.1 release, it&#039;s part of the 6.0 code base though.
&gt;
&gt; i see.
&gt; but 6.0 is horde5, correct?

Correct.

&gt; so there won&#039;t be a &quot;bugfix&quot; [*] for horde4?

No.</description> 
   <pubDate>Thu, 06 Sep 2012 12:28:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9827#t72815</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
