[imp] Re: composing mail with attachement

John Dalbec jpdalbec at ysu.edu
Fri Jan 2 06:03:38 PST 2004


Try increasing memory_limit.  I think that needs to be the largest.  And as I 
said, Horde/IMP uses several times more memory than the file size because of 
MIME encoding.
HTH,
John

Toomas Vann wrote:

> Hi!
> 
> Well, like i said before, i get a response that post was good, that is what
> IMP
> is telling me...
> 
> But those settings are set in my system as follows:
> memory_limit = 8M
> post_max_size = 10M
> upload_max_filesize = 80M
> 
> That is all figures are far bigger than 2,5m file i am tryng to send...
> For as much as i understand, problem is sending, not attaching the file as
> i do get a response that file is attached (posted).
> 
> Regards,
> Toomas
> 
> -----Original Message-----
> From: John Dalbec [mailto:jpdalbec at ysu.edu]
> Sent: 31. detsember 2003. a. 19:22
> To: imp at lists.horde.org
> Subject: [imp] Re: composing mail with attachement
> 
> 
> I use PHP 4.1.2 and there are at least three settings involved there:
> memory_limit = 64M
> post_max_size = 16M
> upload_max_filesize = 4M
> 
> Toomas Vann wrote:
> 
>>Hi!
>>
>>Well i have this kind of a problem that when i compose a mail and
>>add an attachement then after tryng to send it i get a blank page.
>>Now that depends on the size of that file. 2,5mb mp3 file fails
>>when 20kb document succseeds. On that same system i have set up also
>>testing site, to upload files to server using php script. When
>>tryng the same mp3 file from that location, it is uploaded without
> 
> problems.
> 
> IMP uses more memory when uploading files because it has to MIME encode
> them.
> HTH,
> John
> 
> 
>>As systemwide settings are the same i see no reason why would it fail
> 
> using
> 
>>Horde/IMP.
>>
>>I am using:
>>
>>Horde 2.2.4
>>IMP 3.2.2
>>PHP 4.2.2
>>recent pear from www.horde.org pear-1.1.tar.gz
>>
>>All this is running usin RedHat 9 with:
>>httpd-2.0.40-21.9
>>mysql-3.23.58-1.9
>>
>>
>>Also settings are as follows:
>>
>>php.ini:
>>
>>file_uploads = On
>>upload_tmp_dir = /tmp
>>upload_max_filesize = 80M
>>
>>(session files are created under /tmp by user apache, so with permissions
>>everything should be OK)
>>
>>php.conf:
>>
>>LimitRequestBody 82428800
>>
>>THere is something i have left out, could someone point it out, what other
>>changes i have to make...
>>
>>Thanks in advance,
>>Toomas Vann
>>
> 
> 
> 



More information about the imp mailing list