<?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>multipart/alternative MIME handling</title> 
  <pubDate>Fri, 10 Apr 2026 09:21:03 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5945</link> 
  <atom:link rel="self" type="application/rss+xml" title="multipart/alternative MIME handling" href="https://bugs.horde.org/ticket/5945/rss" /> 
  <description>multipart/alternative MIME handling</description> 
 
   
   
  <item> 
   <title>I think I&#039;ve found a bug in IMP v4.1.5 MIME handling.  I hav</title> 
   <description>I think I&#039;ve found a bug in IMP v4.1.5 MIME handling.  I have a message 

with the following (odd!) MIME structure (as reported by Pine):



Parts/Attachments:

    1.1   Shown      5 lines  Text

    1.2.1 Shown    ~17 lines  Text

    1.2.2   OK     939 KB     Application

    1.2.3 Shown      0 lines  Text

    2              2.5 KB     Application

----------------------------------------



In IMP, it shows up as:



Headers:         Show All Headers

Multipart/alternative

Alternative parts for this section:  Help

        unnamed         [text/plain]    0.24 KB         Download

        unnamed         [text/html]     1.14 KB         Download

        J Biol Chem 1983 Venter-1.pdf   [application/pdf]       917 KB

Download

HTML    Click HERE to view HTML content in a separate window.





Clicking on any of the links shows a completely blank HTML window, and 

there is no text at all show inline.

</description> 
   <pubDate>Fri, 30 Nov 2007 21:29:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39210</link> 
  </item> 
   
  <item> 
   <title>The attched message was empty.</title> 
   <description>The attched message was empty.</description> 
   <pubDate>Fri, 30 Nov 2007 22:59:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39223</link> 
  </item> 
   
  <item> 
   <title>Trying again...  The attachment should be around 1.2MB.</title> 
   <description>Trying again...  The attachment should be around 1.2MB.</description> 
   <pubDate>Sat, 01 Dec 2007 00:10:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39225</link> 
  </item> 
   
  <item> 
   <title>Failed again, I guess.



I put it online at http://oregonst</title> 
   <description>Failed again, I guess.



I put it online at http://oregonstate.edu/~morgan/77054.msg</description> 
   <pubDate>Sat, 01 Dec 2007 00:15:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39226</link> 
  </item> 
   
  <item> 
   <title>I couldn&#039;t open this message with IMP, Thunderbird, or Mail.</title> 
   <description>I couldn&#039;t open this message with IMP, Thunderbird, or Mail.app. Seems like it&#039;s broken.</description> 
   <pubDate>Sat, 01 Dec 2007 10:42:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39235</link> 
  </item> 
   
  <item> 
   <title>Okay, this time I exported the message from IMP itself into </title> 
   <description>Okay, this time I exported the message from IMP itself into a MBOX file.



You can grab it at:



  http://oregonstate.edu/~morgan/test.mbox</description> 
   <pubDate>Sat, 01 Dec 2007 17:42:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39243</link> 
  </item> 
   
  <item> 
   <title>All links work perfectly for me. It has to be your c-client </title> 
   <description>All links work perfectly for me. It has to be your c-client choking on the mime structure of that message.

The only issue I noticed was that if you enable html inline messages in imp&#039;s configuration, the html body part is not correctly displayed. But you can still retrieve it through one of the attachment links, and it works correctly with imp 4.2.</description> 
   <pubDate>Mon, 03 Dec 2007 17:37:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t39296</link> 
  </item> 
   
  <item> 
   <title>&gt; All links work perfectly for me. It has to be your c-clien</title> 
   <description>&gt; All links work perfectly for me. It has to be your c-client choking 

&gt; on the mime structure of that message.

&gt; The only issue I noticed was that if you enable html inline messages 

&gt; in imp&#039;s configuration, the html body part is not correctly 

&gt; displayed. But you can still retrieve it through one of the 

&gt; attachment links, and it works correctly with imp 4.2.



I still cannot make this work in the latest imp 4.3 release.  The message displays correctly, but the links to view or download the PDF attachment (which are displayed inline) are incorrect.  Click on the view link opens a pop-up window which has the following URL:



https://webmail4-test.onid.oregonstate.edu/imp/view.php?popup_view=1&amp;actionID=view_attach&amp;id=2.2&amp;mimecache=197054aa93e86cd7a3217dd2fd35c8a6



and displays a blank page.  If I add the parameters &quot;&amp;mailbox=INBOX&amp;index=77054&quot; to the URL, it works correctly, displaying the PDF file.



Also, the &quot;Download All Attachments (in .zip file)&quot; link at the top of the message works correctly.  I cannot figure out why the code is not including the mailbox name and message uid in the generated URL though.</description> 
   <pubDate>Mon, 13 Oct 2008 23:09:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t49672</link> 
  </item> 
   
  <item> 
   <title>&gt; I still cannot make this work in the latest imp 4.3 releas</title> 
   <description>&gt; I still cannot make this work in the latest imp 4.3 release.  The 

&gt; message displays correctly, but the links to view or download the PDF 

&gt; attachment (which are displayed inline) are incorrect.  Click on the 

&gt; view link opens a pop-up window which has the following URL:

&gt;

&gt; https://webmail4-test.onid.oregonstate.edu/imp/view.php?popup_view=1&amp;actionID=view_attach&amp;id=2.2&amp;mimecache=197054aa93e86cd7a3217dd2fd35c8a6

&gt;

&gt; and displays a blank page.  If I add the parameters 

&gt; &quot;&amp;mailbox=INBOX&amp;index=77054&quot; to the URL, it works correctly, 

&gt; displaying the PDF file.



Whoops.  In order to make it display, I also need to fix the &quot;id&quot; parameter by changing it from &quot;2.2&quot; (there is no mime part 2.2) to &quot;1.2.2&quot; (the correct mime part id).



So there are 2 problems with the URL, although I suspect they are related.</description> 
   <pubDate>Mon, 13 Oct 2008 23:12:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t49673</link> 
  </item> 
   
  <item> 
   <title>The MIME library is being rehauled for 4.0.  Issues relating</title> 
   <description>The MIME library is being rehauled for 4.0.  Issues relating to MIME will be taken up after that code stabilizes.</description> 
   <pubDate>Sun, 19 Oct 2008 21:26:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t49808</link> 
  </item> 
   
  <item> 
   <title>This message views fine in IMP 5.</title> 
   <description>This message views fine in IMP 5.</description> 
   <pubDate>Wed, 17 Dec 2008 06:39:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5945#t51318</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
