[Tickets #716] NEW: MSIE view mail forward as attachment

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Oct 22 06:47:17 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=716
-----------------------------------------------------------------------
 Ticket     | 716
 Created By | ditsa at ccf.auth.gr
 Summary    | MSIE view mail forward as  attachment 
 Queue      | IMP
 Version    | 3.2.4
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


ditsa at ccf.auth.gr (2004-10-22 06:47) wrote:

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=0414ddde7a0414bf7319084d2784
585e&thismailbox=INBOX&index=26&id=2&actionID=113&mime=c5d20767a7da06a056ada
931ed28872c)  

msiebug=.mht  

(like
mhtml:https://site.gr/horde/imp/view.php?Horde=0414ddde7a0414bf7319084d27845
85e&thismailbox=INBOX&index=26&id=2&actionID=113&mime=c5d20767a7da06a056ada9
31ed28872c&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);






More information about the bugs mailing list