Author Topic: Uploading PDF attachments  (Read 3364 times)

Offline fluentltd

  • Newbie
  • *
  • Posts: 4
Uploading PDF attachments
« 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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Uploading PDF attachments
« Reply #1 on: August 12, 2010, 05:33:31 PM »
Is there any errors in the error log?

Offline fluentltd

  • Newbie
  • *
  • Posts: 4
Uploading PDF attachments
« Reply #2 on: August 13, 2010, 04:12:48 AM »
No errors in the error log at all...

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Uploading PDF attachments
« Reply #3 on: August 13, 2010, 04:23:14 AM »
What is the message that shows when you try to attach it?

Offline fluentltd

  • Newbie
  • *
  • Posts: 4
Uploading PDF attachments
« Reply #4 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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Uploading PDF attachments
« Reply #5 on: August 14, 2010, 09:51:52 AM »
Sounds like a mime problem, try adding the extensions to the /config/mimetypes.php file.
Code: [Select]
 'pdf' => 'application/pdf',
  'txt' => 'text/plain',
  'jpg' => 'image/jpeg',