Roundcube Community Forum

Release Support => Pending Issues => Topic started by: fluentltd on August 12, 2010, 07:02:06 AM

Title: Uploading PDF attachments
Post by: fluentltd on August 12, 2010, 07:02:06 AM
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
Title: Uploading PDF attachments
Post by: SKaero on August 12, 2010, 05:33:31 PM
Is there any errors in the error log?
Title: Uploading PDF attachments
Post by: fluentltd on August 13, 2010, 04:12:48 AM
No errors in the error log at all...
Title: Uploading PDF attachments
Post by: SKaero on August 13, 2010, 04:23:14 AM
What is the message that shows when you try to attach it?
Title: Uploading PDF attachments
Post by: fluentltd on August 13, 2010, 02:13:07 PM
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
Title: Uploading PDF attachments
Post by: SKaero on August 14, 2010, 09:51:52 AM
Sounds like a mime problem, try adding the extensions to the /config/mimetypes.php file.
 'pdf' => 'application/pdf',
  'txt' => 'text/plain',
  'jpg' => 'image/jpeg',