Roundcube Community Forum

 

Uploading PDF attachments

Started by fluentltd, August 12, 2010, 07:02:06 AM

Previous topic - Next topic

fluentltd

Hi,

I've just upgraded to latest stable version, having done so now people cannot attach PDF files to their emails...any other kind of file seems to work fine. Anyone got any ideas?

Jonathan

SKaero

Is there any errors in the error log?

fluentltd

No errors in the error log at all...

SKaero

What is the message that shows when you try to attach it?

fluentltd

File Upload Failed

This occurrs with PDF documents, .txt documents and image files but it does not occurr with MS documents e.g. .doc .xls etc

SKaero

Sounds like a mime problem, try adding the extensions to the /config/mimetypes.php file.
 'pdf' => 'application/pdf',
  'txt' => 'text/plain',
  'jpg' => 'image/jpeg',