Author Topic: Emails with large attachments won't open  (Read 2904 times)

Offline mydigitalself

  • Newbie
  • *
  • Posts: 2
Emails with large attachments won't open
« on: May 04, 2007, 08:37:02 AM »
I've received 2 emails recently with large attachments - by large I mean 2.7MB (so not THAT large!). If I double click on the email, I get a completely blank page. View source of the result shows there is absolutely no HTML being sent at all.


Offline mydigitalself

  • Newbie
  • *
  • Posts: 2
Re: Emails with large attachments won't open
« Reply #1 on: May 04, 2007, 08:41:39 AM »
Ah, found the problem actually...

[04-May-2007 13:32:24] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2746271 bytes)

Extended memory limit of PHP script to 32M and now it's working just fine. Could this code be optimised to not use so much memory?