Roundcube Community Forum

 

Can't send mail with attachment

Started by Tobi1051, February 01, 2009, 11:52:46 AM

Previous topic - Next topic

Tobi1051

Hi,

I can't send an email with an attachment. But without it works fine. Did anybody know this problem. How can I resolve it?

Tobi

rosali

#1
Check ./config/main.inc.php ::: $rcmail_config['temp_dir']. This folder is used to upload files by RoundCube. Make sure that your web server (IIS, apache or whatever) has read/write/delete permissions on this folder.
Regards,
Rosali

maximo4k

#2
Quote from: rosali;16826Check ./config/main.inc.php ::: $rcmail_config['temp_dir']. This folder is used to upload files by RoundCube. Make sure that your web server (IIS, apache or whatever) has read/write/delete permissions on this folder.

I setted up the absolute path and gave the permission to the web server to this folder and I didn't move forward. I got the message "file upload failed". Please, advice me something.

laipi7

I got same problem and  keep to try error. if any one have any advice let us know thanks a lot.

laipi7

I got root cause by my case already, I saw a error logs about PHP Fatal error:  Allowed memory size, I just changed /etc/php.ini --> memory_limit = 256 M
Everything work well now. I tested some records as below
If you have 1M attachment --> memory_limit = 16M
                2M attachment --> memory_limit = 32M
                3M etc...
thakns a lot