[imp] downloading text or html attachments
Sn!per
sniper at home.net.my
Fri Aug 15 01:16:40 PDT 2003
IMP3.2
another attachment question:
whenever i try to download a textfile or html file attachment, IMP will just display the content on the browser screen.
i know it's caused by the statement echo $body in view.php but i do not know how to rectify this. please advise.
snippet from view.php:
/* Run through action handlers */
switch ($actionID) {
case DOWNLOAD_ATTACH:
IMP_Browser::downloadHeaders(MIME::decode($mime->name), $mime_types[$mime->type] . '-' . $mime->subtype, false, strlen($body));
echo $body;
exit;
rgds.
---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------
More information about the imp
mailing list