Author Topic: Can't send mail with attachment  (Read 4078 times)

Offline Tobi1051

  • Newbie
  • *
  • Posts: 2
Can't send mail with attachment
« 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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Can't send mail with attachment
« Reply #1 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.
« Last Edit: February 01, 2009, 12:03:26 PM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline maximo4k

  • Newbie
  • *
  • Posts: 3
Can't send mail with attachment
« Reply #2 on: March 06, 2009, 11:19:41 PM »
Quote from: rosali;16826
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.


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.
« Last Edit: March 07, 2009, 07:51:18 AM by maximo4k »

Offline laipi7

  • Newbie
  • *
  • Posts: 2
Can't send mail with attachment
« Reply #3 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.

Offline laipi7

  • Newbie
  • *
  • Posts: 2
Can't send mail with attachment
« Reply #4 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