6.0.0-alpha12
6/17/25

[#716] MSIE view mail forward as attachment
Summary MSIE view mail forward as attachment
Queue IMP
Queue Version 3.2.4
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester ditsa (at) ccf (dot) auth (dot) gr
Created 10/22/2004 (7543 days ago)
Due
Updated 10/09/2009 (5730 days ago)
Assigned 11/02/2004 (7532 days ago)
Resolved 11/15/2004 (7519 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/09/2009 06:13:23 PM sklfj2! (at) aol (dot) com Comment #4 Reply to this comment
No feedback.
Yes feedback lol  for the people    to work over here when they come
11/15/2004 03:07:32 PM Jan Schneider Comment #3
State ⇒ Not A Bug
Reply to this comment
No feedback.
11/02/2004 09:48:10 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I have absolutely no idea what you are talking about. Can try to 
rephrase your problem?
10/22/2004 01:47:16 PM ditsa (at) ccf (dot) auth (dot) gr Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ MSIE view mail forward as attachment
Queue ⇒ IMP
Reply to this comment
When I try to view an attachment forwarded email I get “error in page” 
on the new window.



I found a problem about mhtml in http://support.microsoft.com/?id=825803#kb3 .



Then I add an extension .mht in filename headers in lib/Browser.php 
but nothing happen.



I decide to add an extra var in URL

(mhtml:https://site.gr/horde/imp/view.php?Horde=0414ddde7a0414bf7319084d2784585e&thismailbox=INBOX&index=26&id=2&actionID=113&mime=c5d20767a7da06a056ada931ed28872c)



msiebug=.mht



(like 
mhtml:https://site.gr/horde/imp/view.php?Horde=0414ddde7a0414bf7319084d2784585e&thismailbox=INBOX&index=26&id=2&actionID=113&mime=c5d20767a7da06a056ada931ed28872c&msiebug=.mht)



and mhtml works because it found the specifiv extension at the end of url.



An easy way to fix this problem is to put this extra var in 
horde/imp/message/javascript.inc line 41 and change

window.open('<?php echo str_replace('&amp;', '&', 
Horde::url('view.php?thismailbox=' . urlencode(IMP::getThisMailbox()) .

  '&index=' . $index)) ?>' + '&id=' + part + '&actionID=' + action + 
'&mime=' + mime, '<?php echo uniqid(ran

d()) . $index ?>' + tr(part), param); line



to



window.open('<?php echo str_replace('&amp;', '&', 
Horde::url('view.php?thismailbox=' . urlencode(IMP::getThisMailbox()) .

  '&index=' . $index)) ?>' + '&id=' + part + '&actionID=' + action + 
'&mime=' + mime + '&msiebug=.mht', '<?php echo uniqid(ran

d()) . $index ?>' + tr(part), param);




Saved Queries