[imp] download all attachments as zip
Joseph Malone
josephmalone at higlum.com
Mon Mar 20 14:49:30 PST 2006
Resolved.
The zip file takes the name of the subject. When the message was
forwarded, the Colon after FWD: would cause IE to blow up. We changed
the way $zipfile gets set. Making it take only take letters and
numbers with a little for loop. I'm not sure if anyone else is having
this problem, but that's how we fixed ours.
$zipfile = trim($headers->getValue('subject'));
for ($i = 0; $i < strlen($zipfile); $i++)
{
$c = substr($zipfile, $i, 1);
if (($c >= '0' && $c <= '9') || ($c >= 'a' && $c <= 'z')
|| ($c>= 'A' && $c <= 'Z') || ($c == ' '))
$myzipfile .= $c;
}
$zipfile = $myzipfile;
Quoting Joseph Malone <josephmalone at higlum.com>:
> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting Joseph Malone <josephmalone at higlum.com>:
>>
>>> hmm, not sure if my last e-mail went through correctly..
>>>
>>> Did you mean these lines?
>>>
>>> SetEnvIf User-Agent ".*MSIE.*" \
>>> nokeepalive ssl-unclean-shutdown \
>>> downgrade-1.0 force-response-1.0
>>>
>>> Right now we have them commented out...
>>
>> yes.
>>
>> michael
>>
>
> Tried these lines in my apache config, but the problem was still
> there... Is there more apache config options that need to be set?
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
More information about the imp
mailing list