disposition problem?

Jie Gao J.Gao@isu.usyd.edu.au
Fri, 25 Jan 2002 10:37:57 +1100 (EST)


Hi All,

I've been forwarded this error message and I don't know what to do with it:

>I continue to have the problem explained two weeks ago whereby all
>attachments coming in mail via the extro server contain the following:
>
>"Warning: Undefined property: broken_disposition in /opt/local/www-mail/horde-
>1.2.7/imp-2.2.7/view.php3 on line 70
>
>Warning: Cannot add header information - headers already sent by (output
>started at /opt/local/www-mail/horde-1.2.7/imp-2.2.7/view.php3:70) in
>/opt/local/www-mail/horde-1.2.7/imp-2.2.7/view.php3 on line 73
>
>Warning: Cannot add header information - headers already sent by (output
>started at /opt/local/www-mail/horde-1.2.7/imp-2.2.7/view.php3:70) in /opt/local/www-
>mail/horde-1.2.7/imp-2.2.7/view.php3 on line 131"

The relevant lines are:

/* Run through action handlers */
switch ($actionID) {
 case NO_ACTION:
         break;

 case DOWNLOAD_ATTACH:
         header("Content-Type: application/x-unknown-$mime->TYPE-$mime->SUBTYPE");    /* This should force
a save file dialog...  */
     if ($this_client->broken_disposition) {
         header('Content-Disposition: filename=' . decode_mime_string($mime->name));
     } else {
         header('Content-Disposition: attachment; filename=' . decode_mime_string($mime->name));
     }
         break;

Thanks,




Jie