[imp] Problem with mailbox download
Jan Schneider
jan at horde.org
Sat Mar 4 09:31:51 PST 2006
Zitat von garnier at embratel.com.br:
> 1 - I guess I could do that, but the problem is that, after creating an
> array with each message data and name, IMP passes this to
> $horde_compress->compress(), which returns a string with zip content. So
> you can´t avoid a variable size limitation with this. Any ideas?
You didn't mention that you are trying to download the mailbox in a
ZIP file. In this case it might be possible to a zlib stream filter in
PHP 5.
> Date: Fri, 03 Mar 2006 14:59:59 +0100
> From: Jan Schneider <jan at horde.org>
> Subject: Re: [imp] Problem with mailbox download
> To: imp at lists.horde.org
> Message-ID: <20060303145959.eacxrlf728scggoo at neo.wg.de>
> Content-Type: text/plain; charset=UTF-8; DelSp="Yes";
> format="flowed"
>
> Zitat von garnier at embratel.com.br:
>
>> I?ve checked IMP code for downloading mailboxes as a .mbox file. It
> passes
>> the content of all messages in that mailbox to a variable, which is
> echoed.
>> Correct if I?m wrong, but I see 2 problems related to that:
>>
>> 1 - there should be a limitation for the mailbox size (I guess it?s
>> probably related to PHP memory_limit variable)
>>
>> 2 - IMP stays "freezed" while you?re downloading a mailbox. If you click
> on
>> any link on the browser (ex: compose new message), the new page isn?t
> shown
>> until the download finishes.
>>
>> Is there any way to avoid these problems?
>
> Re 1: You could maybe change the code the code to echo the messages in
> chunks instead.
> Re 2: No.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the imp
mailing list