| 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 (7683 days ago) |
| Due | |
| Updated | 10/09/2009 (5870 days ago) |
| Assigned | 11/02/2004 (7672 days ago) |
| Resolved | 11/15/2004 (7659 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Not A Bug
State ⇒ Feedback
rephrase your problem?
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ MSIE view mail forward as attachment
Queue ⇒ IMP
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('&', '&',
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('&', '&',
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);