This patch resolves our issue which is identical Ticket #1485152, we  
are running PHP 5.1.6, RPM from CentOS 5.  Hope it helps.

James


diff -Naur roundcubemail-0.1.1/program/steps/mail/sendmail.inc  
roundcube.corrected/program/steps/mail/sendmail.inc
--- roundcubemail-0.1.1/program/steps/mail/sendmail.inc 2008-04-05  
08:49:21.000000000 -0400
+++ roundcube.corrected/program/steps/mail/sendmail.inc 2008-07-22  
13:56:15.000000000 -0400
@@ -290,8 +290,11 @@
          We need to replace mime_content_type in a later release  
because the function
          is deprecated in favour of File_Info
        */
+      $fi  = finfo_open(FILEINFO_MIME);
+      $upd_mime = finfo_file($fi, $attachment['path']);
+      finfo_close($fi);
        $MAIL_MIME->addAttachment($attachment['path'],
-        rc_mime_content_type($attachment['path'],  
$attachment['mimetype']),
+        $upd_mime,
          $attachment['name'], true, 'base64',
          'attachment', $message_charset);
      }
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to