[horde] Reading an e-mail with a TNEF attachment results in a PHP memory exhausted error

Michael J Rubinsky mrubinsk at horde.org
Wed May 6 14:29:53 UTC 2015

Quoting Paul Griffith <paulg at cse.yorku.ca>:

> Hi Horde Users,
> I have been trying to debug a issue with a TNEF attachment. The  
> winmail.dat file is only 563KB in size and PHP is configured with a  
> 256MB memory limit. When I try to ready the e-mail, I get the error:  
> "error when communicating with the mail server"  and the following  
> in the logs.
> [Wed May 06 09:49:23 2015] [error] [client xx.xx.xx.xxx] PHP Fatal  
> error:  Allowed memory size of 268435456 bytes exhausted (tried to  
> allocate 32 bytes) in /local/horde/pear/php/Horde/ErrorHandler.php  
> on line 156, referer:  
> https://xxx.xxx.xxx.ca/imp/dynamic.php?page=mailbox

Unfortunately without more information it's hard to say what the issue  
is. We would need an example .dat file that causes the memory_limit to  
be reached.

The Horde Project
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20150506/3958ba3a/attachment.bin>

More information about the horde mailing list