6.0.0-RC7
6/18/26

[#9104] text/plain part of mulitpart/alternative does not get displayed
Summary text/plain part of mulitpart/alternative does not get displayed
Queue IMP
Queue Version 4.3.7
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester steffen.hau (at) rz (dot) uni-mannheim (dot) de
Created 6/21/10 (5841 days ago)
Due
Updated 6/29/10 (5833 days ago)
Assigned
Resolved 6/28/10 (5834 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
215 Michael Slusarz Comment #6 Reply to this comment
Thanks for your explanation. Is there any plan to fix this issue 
also in H3? As H4 is not released and only available via git or 
snapshot tar.gz, I'm not allowed to install it on production 
environments. I wasn't able to find any hint on when H4 will be 
released.
No - there are no plans to fix in H3.  The MIME code has been 
completely rewritten in H4.
3012 steffen (dot) hau (at) rz (dot) uni-mannheim (dot) de Comment #5 Reply to this comment
Thanks for your explanation. Is there any plan to fix this issue also 
in H3? As H4 is not released and only available via git or snapshot 
tar.gz, I'm not allowed to install it on production environments. I 
wasn't able to find any hint on when H4 will be released.

I will setup a test environment with the latest snapshots and use a 
database dump from the current production system.
177 Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
This is due to limitations of the MIME parsing library in H3 (namely, 
the completely unnecessary multipart/mixed part added by Apple Mail - 
this confuses the alternative driver as to which parts are viewable).   
This works fine in Horde 4/IMP 5.
263 steffen (dot) hau (at) rz (dot) uni-mannheim (dot) de Comment #3 Reply to this comment
Configuring the alternative_display pref to above or below shows up a 
link to display the text/plain message. The previous attached email 
was also not shown correctly with the horde 3.1.7 and imp 4.1.6.

But 2 users have now stated, that they are not able to view emails 
since we upgraded the horde distribution.

Any help on this is appreciated.
4511 steffen (dot) hau (at) rz (dot) uni-mannheim (dot) de Comment #2 Reply to this comment
At least I found out where the msgstr comes from. It's taken from 
Hordes lib/Horde/MIME/Contents.php

But I still can't figure out why IMP doesn't even display the 
text/plain part of the message.
211 steffen (dot) hau (at) rz (dot) uni-mannheim (dot) de Comment #1
Priority ⇒ 1. Low
New Attachment: 20100601-Fwd_ [Mitarbeiter] Abschaltung Klimaanlage-14447.eml Download
Patch ⇒ No
Milestone ⇒
Summary ⇒ text/plain part of mulitpart/alternative does not get displayed
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ IMP
Reply to this comment
When I open the attached Email in IMP, it says:

There is no text that can be displayed inline.

If I enable the inline view of html in IMP's mime_drivers.php, the 
html part of the message is displayed. I tried to dig into the 
sourcode but I didn't find the relevant part why the text/plain is not 
displayed but the message above instead.

I grepped for the string, but the only occurence was thread.php which 
was not used, but message.php instead. So I don't know where this 
message comes from.

I can provide further information if you tell me what you need to know

Saved Queries