[RCD] Attachments question/thoughts

Nikita Koshikov koshikov at gmail.com
Thu Mar 25 11:56:17 CET 2010

Hello list, 

Our users often asking me - is it able to get full path to attached file. I'm trying to change:

--- ./program/steps/mail/compose.inc.orig	2010-03-25 12:29:55.000000000 +0200
+++ ./program/steps/mail/compose.inc	2010-03-25 12:30:27.000000000 +0200
@@ -68,7 +68,7 @@
       // only a file path is given
       else {
-        $filename = basename($attach);
+        $filename = $attach;
         $attachment = array(
           'name' => $filename,
           'mimetype' => rc_mime_content_type($attach, $filename),

But this didn't make the trick. Can anybody point me to right source file where I will make modifications ?

I don't see such feature in roadmap list, but is it planing to make attachments be able opened/view on "composing" stage ? This will be great to users who want to recheck if they attach exactly wanted filename. Due to security issues maybe not open file on server - just store mapping:
"attached file" -> "local file", and open local file if user trying to view data.

Any thoughts ?

One more thing - any chance to see multi-selection dialog while attaching files or it's too difficult ?

List info: http://lists.roundcube.net/dev/

More information about the Dev mailing list