Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Tobi1051 on February 01, 2009, 11:52:46 AM

Title: Can't send mail with attachment
Post by: Tobi1051 on February 01, 2009, 11:52:46 AM
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
Title: Can't send mail with attachment
Post by: rosali on February 01, 2009, 11:56:10 AM
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.
Title: Can't send mail with attachment
Post by: maximo4k on March 06, 2009, 11:19:41 PM
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.
Title: Can't send mail with attachment
Post by: laipi7 on March 18, 2009, 02:04:34 PM
I got same problem and  keep to try error. if any one have any advice let us know thanks a lot.
Title: Can't send mail with attachment
Post by: laipi7 on March 18, 2009, 11:54:58 PM
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