Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: HTF on March 27, 2010, 09:27:36 AM

Title: Can't load attachments
Post by: HTF on March 27, 2010, 09:27:36 AM
Hi,

I have a problem with attachments as it says "failed to load".
I checked and upload it's enabled in php.ini. The file that I'm trying to upload is not also exceeding size limit (few KB) and I tried with .jpg, .zip files so there are not prohibited on the mail server.
I have default configuration for roundcube, I didn't change anything so do I have to enable it this feature in roundcube? Where it's storing these files, maybe it's something with file permissions
Server W2K3 II6
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EDIT:

After few tests I found out that I can attach with, no problems, files with extensions like .rar, .zip, office word, spreadsheet but I cannot files like:
- .txt, images like .jpg

So is there any files extension limitation in roudcube itself as they are not blocked by server because there is different message then about file not permitted on server...
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EDIT:

Solution is to add necessery extensions into  MIME (/config/mimetypes.php), in my case:

'jpg' => 'image/jpg',
'jpeg' => 'image/jpeg',
'txt' => 'text/plain',