Excellent. I've implemented this and it works well. Thank you.

Doug

On Sun, 05 Mar 2006 14:14:15 +0100, Sjon <[EMAIL PROTECTED]> wrote:
> I would propose that in program/steps/mail/func.inc line 1027 the
> following is changed:
> 
> if (get_boolean($attrib['showimages']) && $ctype_primary=='multipart' &&
> $ctype_secondary=='mixed' && sizeof($MESSAGE['attachments']) &&
> !strstr($message_body, '<html') && strlen($GET_URL))
> 
> into something like this:
> 
> if (!$CONFIG['never_show_attachments_inline'] &&
> get_boolean($attrib['showimages']) && $ctype_primary=='multipart' &&
> $ctype_secondary=='mixed' && sizeof($MESSAGE['attachments']) &&
> !strstr($message_body, '<html') && strlen($GET_URL))
> 
> This might even make it into CVS if someone commits it ;) You can apply
> it to your own installation quickly though. Then add the setting to your
> main.inc and it should work
> 
> Regards,
> Sjon
> 
> Doug Robbins wrote:
>> Perhaps I need to clarify by way of an example...
>>
>> I receive an email with a series of jpegs attached, totalling perhaps 10
> mb. The mail is a multipart/alternative message from an OE user with a new
> digital camera. :)
>>
>> When I try to view the message, Roundcube attempts to open all the
> attached images for *display inline*. This fails -- either because of an
> apache timeout or a PHP limitation.
>>
>> I don't want Roundcube to open and display these images inline. I want
> it to simply open the text portion of the message and indicate that there
> are attachments (i.e., provide links for downloading or viewing each
> attached image).
>>
>> Doug
>>
>> On Fri, 3 Mar 2006 15:00:12 -0330 (NST), "Doug Robbins"
> <[EMAIL PROTECTED]> wrote:
>>> When I try to open a message with a large attachment (or a collection
> of
>>> attachments that add up to several megabytes), Roundcube spins for a
> while
>>> then times out and displays only a blank white page.
>>>
>>> By 'large' I mean in the area of 8mb or more.
>>>
>>> It seems that it is trying to read the attachments, and either Apache
> is
>>> timing out or I'm hitting a PHP limit (I haven't investigated that
>>> closely).
>>>
>>> Can Roundcule be configured to NOT (attempt) to read large attachments
>>> when opening a mail? (On the same server, Squirrelmail manages to pop
> the
>>> same messages open without problem.)
>>>
>>> By way of background, I'm running the beta release of Roundcube on the
>>> same machine as the imap server (wu-imap). Caching is disabled in the
>>> Roundcule config.
>>>
>>> Any help appreciated.
>>
>>
>>



Reply via email to