[Tickets #3716] Can't delete emails (to trash) when quota is full

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Mar 30 07:35:32 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3716
-----------------------------------------------------------------------
 Ticket             | 3716
 Updated By         | Michael Slusarz <slusarz at mail.curecanti.org>
 Summary            | Can't delete emails (to trash) when quota is full
 Queue              | IMP
 Version            | 4.1
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


Michael Slusarz <slusarz at mail.curecanti.org> (2006-03-30 07:35) wrote:

> First, on line 205 there is line
>     if (stristr('over quota', $error_msg) !== false) {
> The definition of this function is stristr ( string haystack, string
needle )
> So the parameters are mixed up and it probably never matches with
anything.
>
> Also at least with Courier IMAP, you get an error "You exceeded your 
> mail quota" so it certainly won't match.
>
> Changing the line to
>    if ((stristr($error_msg, 'over quota') !== false) || 
> (stristr($error_msg, 'exceeded your mail quota') !== false)) {
> works for me.

Fixed in HEAD and 4.1.1.




More information about the bugs mailing list