Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#337 Error!!! The message could not be decoded

current_version
open
nobody
Webmail (62)
9
2006-12-29
2006-12-29
BORDERIT
No

Emails cannot be displayed. The following message is displayed:

Error!!! The message could not be decoded. Called statically and no input given

I can send & receive email but the contents of the messages is not displayed.

My system specs:
> PHP 4.2.2
> Linux sylvester.devel.redhat.com 2.4.20-2.41
> Apache 2.0
> P4, 3 Ghz with 1 Gb memory

Discussion

  • BORDERIT
    BORDERIT
    2006-12-29

    • priority: 5 --> 9
     
  • madgrepper
    madgrepper
    2006-12-29

    Logged In: YES
    user_id=1370574
    Originator: NO

    Does this happen for EVERY email or just emails with attachments? The code that this looks like it comes from (readmesage.php, line 248). Looking at the comments in the code:

    // the Pear::Mail_mimedecode needs at least twice the amount
    // of memory as the size of the email, so:
    // memory usage until here=3,6MB
    // memory usage after decoding a 3MB mail (with 2 images as content)=9,6MB
    // and then the structure variable needs another 3MB (a bit less), so:
    // totally 12,6 MB is needed temporary
    // the memory is released directly after, but you might bump into this
    // limit in php.ini

    You might try bumping the memory_limit parameter in /etc/php.ini. Mine is currently set at 16M.

    Dave

     
  • BORDERIT
    BORDERIT
    2006-12-30

    Logged In: YES
    user_id=1679451
    Originator: YES

    Yes, this happens with every email (including the default welcome email that comes with the installation). I have checked my php.ini file and the memory_limit was already set to 80M