| Author |  | 
      
        | xyptilon Newbie
 
  
  
 Joined: 10 April 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 10
 | 
          Good morning,
           | Posted: 14 May 2010 at 1:10am | IP Logged |   |  
           | 
 |  
 Some of our users receive rather larger emails (20 - 30 mb) and currently these cannot be retrieved. We haven't set any attachment limits in the admin panel.
 
 Do we have to modify any PHP settings to allow larger emails?
 
 Sincerely,
 - Wouter Steven.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You should make sure that memory_limit is set to a really high value to allow processing of large emails. It's hard to say what the limit setting should be there as it depends on multiple aspects. Most probably, settings it to 400-500M should allow for parsing large messages.
           | Posted: 14 May 2010 at 2:05am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | xyptilon Newbie
 
  
  
 Joined: 10 April 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 10
 | 
          Thanks for the answer, i'd to change it in common/inc_constants.php as well, is that correct? Now it is.
           | Posted: 14 May 2010 at 10:33am | IP Logged |   |  
           | 
 |  
 define('MEMORYLIMIT', '600M');
 
 Sincerely,
 - Wouter Steven
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Yes, that's correct, as long as it works for you. On some servers, changing just the constant value itself might not work due to restrictions applied.
           | Posted: 14 May 2010 at 1:56pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | shashi_myfrenz Newbie
 
  
 
 Joined: 22 August 2010
 Location: Oman
 Online Status: Offline
 Posts: 2
 | 
          
           | Posted: 22 August 2010 at 1:51am | IP Logged |   |  
           | 
 |  
| xyptilon wrote: 
 
    
    | 
      
       | Thanks for the answer, i'd to change it in common/inc_constants.php as well, is that correct? Now it is. 
 define('MEMORYLIMIT', '600M');
 
 Sincerely,
 - Wouter Steven
 |  |  |  
 
 
 Dear Sir,
 I also get same problem. more than 8 mb attachemnt mails is not retreiving. In php.ini also I mentiond Memory Limit 900M and in inc_constants.php also I mentiond define('MEMORYLIMIT', '900M'); then also same problem. What can I do sir. am using 4.8 php version.
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | shashi_myfrenz Newbie
 
  
 
 Joined: 22 August 2010
 Location: Oman
 Online Status: Offline
 Posts: 2
 | 
          Dear Sir,
           | Posted: 22 August 2010 at 1:56am | IP Logged |   |  
           | 
 |  I also get same problem. more than 8 mb attachemnt mails is not retreiving. In php.ini also I mentiond Memory Limit 900M and in inc_constants.php also I mentiond define('MEMORYLIMIT', '900M'); then also same problem. What can I do sir. am using 4.8 php version.
 
 | 
       
        | Back to Top |     | 
       
       
        |  |